Hi,
I'm using a dijit Tree widget hooked into a read-only data store, based on the one given here:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/data/demos/demo...
Hi,
I'm using a dijit Tree widget hooked into a read-only data store, based on the one given here:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/data/demos/demo...
Does the jsId attribute work in all dijit declarations?
For example, if I have
Can I access the dijit object by either jsFoobar or dijit.byId('foobar')? I've been using the jsId way and it seems to work fine. Any downsides to it (besides it being a global variable)?
Thanks in advance.
Hi,
right now I'm totally lost with 2 Problems with dijit.Tree and templating.
Problem 1:
I already managed to modify the template String of my dijit.Tree. But how do I modify the template String of the TreeNodes?
right now I got:
<code>
var sitemap=new dijit.Tree({
id:'sitemap',
store:sitemapStore,
query:{top:true},
templateString:"someHTMLstuff"
}
,dojo.byId("sitemap"));
</code>
but this only modifies the Tree container, not the template of the tree nodes.
I'm looking for something like:
When a template file includes widgets,the top widget will call the included widgets's destroy() twice.One happened in the destroyDescendants() of the dijit._Widgets. Other happened in the empty() of the dojo.html.
destroyDescendants():
empty():
Please help me. Thank you!
I'm fairly new to Dojo, but wasn't able to find any information on this by searching (perhaps my search-fu is weak).
I'm attempting to have some local javascript add a second set of fields to a form. After running the function that adds them (and calls the parser), they work fine, but the previously generated versions get broken.
You can see the problem here:
http://geeklair.net/~dluke/dojo_problem.html
Here's an excerpt of the code:
dojo.require("dijit.form.Form");
dojo.require("dijit.form.TextBox");
I have two dijit _calendar thingies on a page, one for a "from" date and another for a "to" date.
Is it possible to override isDisabledDate to disable "from" dates later than the "to" date & "to" dates earlier than the "from" date? If so, any help would be most appreciated. I do know how to do basic stuff with isDisabledDate like, for example, making all days in the future invalid, but all my attempts to do this from/to filtering have met with tears.
I have a page with more then 50 dijit.form.FilteringSelect dijits, a dijit.layout.TabContainer, and a few tabs as dijit.layout.ContentPane...
If I cut down the number of FilteringSelect, hence cutting the total number of dijits under 50(ish) the page loads fine...but if I add just one more dijit the page fails....is there a known limitation? Is there something I should add to djConfig?...
I am using markup to create the dijits:
I have created a toolbar and added buttons to it. After that I would like to get its width and height. I thought that would be an easy task but I have spent a long time searching and have yet to find anything that works. Can someone help me out?
Thanks
Mike
Hello everybody,
I am pretty sure my problem is kind of silly but I do not how to solve it, any help will be really appreciate.
I have a textbox to capture document (master section), with that document I want to bring and capture some other data (detail section), so, I need to use dijits in deatil section. I am testing with dojo.xhrGet and detail page is load but dijits loose their dojo properties, for instance, a validation text box does not validate data anymore. any ideas? I am sending the code for a beter understanding.
Thanks a lot in advanced.
I have been struggling with the dijit.byId is not a function for a while. I believe it is not a parsing (onAddLoad) problem. Although I am not sure. I suspect it to be a scoping issue with my html.
I get the following errors in firebug when I set a breakpoint a checkbox handler: undefineddojo._scopeArgs = [undefined];
"dijit.byId is not a function"
Here is a copy of html file:
Dons Book Checkbox