Login Register

programatically

Programatically create and load data into grid from script

I need to create several grids with icon images, with and without links as well as text with links.
I have to make these grid programatically from scripts and load data from script also. Is it possible to use Dojo grid without dojo data store or model but use API to control everything, header creation, adding/delete rows etc.

Adding items to programatically created tree

Hi all,

I have an xml dom from which i create an ItemFileWriteStore datastore, which I use as the Store for my Tree, which i also programatically create like so

var tree = new dijit.Tree({
                                        persist:false,
                                        store: store,
                                        id: "myTree"
                                }, this.dojo.byId("myDivInsideMyContentPane");

inside a ContentPane. So far so good, the Tree displays all the Items as Nodes correctly.

Now I add an Item to the root of my Store like so

Dnd Items: Programatically Managed (move, add, insert, create, delete) via context menu (dojo 1.0.0)

Conflict: I've run into a show stopper with this dnd interface. I need to be able to programatically delete, or create/insert new dnd items.

Scenario: a user will right click an existing menu Item and choose either create or delete. The user chooses create; where the existing item(s) are selected, a new item with a group link will take there place, and those selected items will be migrated to a new dnd box.

trouble in rendering widgets with XSLT transformation

Hi,

I am using an XSLT to render the page containing the dijit dropdownbutton widget. The widget is being rendered properly on a normal HTML page but it fails when I try to render the page using XSLT.
<?xml version="1.0" encoding="UTF-8"?>

 

[solved] Programmatically adding rules and labels to a slider

Hi everybody!

I've already searched the forum and tests but couldn't find the answer... how do I prgrammatically add rules and labels to a slider?

Here is the code fragment I've got so far:

Untitled Document

[solved] How create slider rules and labels (1.0) programatically?

How create slider rules and labels programatically? No have examples in the documentation.

I tried this, but slider rules not work:

############################################

function openSlider(){

//Vertical Slider
var node = dojo.body().appendChild(document.createElement("div"));
node.id = 's1';
test = new dijit.form.VerticalSlider({
value:30000,
minimum:1000,
maximum:30000,
discreteValues:10,
intermediateChanges:"true",
//showTooltip: "true", //=> This works for slider 1.0?

Syndicate content