NOTICE: THIS IS SOLVED, I WILL PUBLISH THE SOLUTION HERE ASAP.
Hey all,
Ok... I have a simple dojo page with the bare essentials. Three UL's with some LI's in them. The idea si to allow drag-n-drop among them but if any UL goes empty due to the last item being dragged out, I will put up a message to the user to gie them some instructio...
Related to my SO issue at http://stackoverflow.com/questions/3010996/dojo-extending-dojo-dnd-source-move-not-happening-ideas/3012518#3012518 I am now almost done.
I have a dnd.Source derived class - we can consider it a dnd.Source for now, that has within it a node that has a specific class.
function declare_mockupSmartDndUl(){
...
IS there any way to have scroll bar in a dijit.TitlePane
...
I need to change the dojo namespace to something else. I found this stackoverflow post, but it refers to a dojo documentation page that no longer exists. Below is something I tried based on this page, but didn't work:
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" djC...
Hi,
I'm trying to remove duplicates from a Dojo FilteringSelect without changing the contents of the attached itemFileReadStore data store. I can't seem to find any information on how this is done, if it is indeed possible.
I'm thinking I may have to extend the FilteringSelect Dijit and provide the functionality myself but I'm hoping t...
I'm trying have default values for Zend_Dojo_Form_Elements be set to '' when a user clicks into the element. This works fine for a TextBox and partially for a FilteringSelect
The FilteringSelect clears, but it does it when you click on the drop down arrow too, causing the drop down to not work. I'd like to have it clear only when you ...
> var xhrArgs = {
> url: '/mum/proxy/http/localhost:8080/DemoProject/MyServlet',
> postData:' MyDataToBeSend',
> handleAs: 'text',
> load: function(data) { },
> error: function(error) {alert(error);}}; var ret =
> dojo.xhrGet(xhrArgs);
Hi All,
I have written the above co...
dojo's Theme Tester is Showing theme claro as one available theme in http://archive.dojotoolkit.org/dojo-2010-04-12/dojotoolkit/dijit/themes/themeTester.html?theme=claro
But claro is not accessible from Google CDN.
I've also tried to use claro from the same place where the ThemeTester is pulling. But layout doesn't look the same. rather ...
Dear All,
I've an Accordion widget, I need to call JS methods on click of the Accordion title as well as on click inside the content. Can someone please help me to do this? I've my code below.
var aContainer = new dijit.layout.AccordionContainer({style: "float:left;width:175px;height:205px;",},"testAccordion");
//Below code is insid...
How can I get the Selected Row Object of dojox.enhancedGrid ?
I am using selectionMode: 'single'
e.g. with Radio Buttons.
dijit.byId("gridViewWidget").selection.selectedIndex
Returns the rowIndex.
But how to get the rowObject of that Index ?
I can get the rowNode()But What I need is value of the id column of that Row.
Its possible to t...
I have the following HTML and CSS:
<button id="myBtn" dojoType="dijit.form.Button">Testing</button>
#myBtn {
margin-left: 100px;
}
The CSS is supposed to push the button in 100px. But since dijit applies some extra layers of HTML around the button, the button gets a 100px padding.
JSbin to show the problem
edit: Found one (not ...
I've started using the HTML5 data- attributes in my application, but when this is applied to an element that is a dijit widget, it disappears.
<button dojoType="dijit.form.Button" data-id="5">Number 5</button>
Is dojo actually parsing this and keeping it somewhere? Or is it just removed completely because dojo isn't HTML5 compliant?
...
Recently, I have been working on a project where the interface should work for desktop and tablets (in particular the iPad).
One issue I am coming across is with a Dojo dialog on the iPad when text entry is taking place.
Basically here is what happens:
Load Dojo interface with buttons on iPad - OK
Press button (touch) to show dialo...
The question is probably better answered by how do I get value == displayedValue. Or how do I prevent value to be Index based and instead use the textstring I provide from my store.
My Json has this structure:
{"items":[{"zipcity":"Stocka"},{"zipcity":"Stockamöllan"},{"zipcity":"Stockaryd"}]}
Does it need to change?
Currently This is...
I would like some help on how to do this task (PHP and Dojo)
Currently I have 2 dojo radio buttion and a dojo combobox. When the user click on a radio button I would like to do the followng:
1: Execute a JS/dojo function
call a php method that return a json object
populate the combobox with the new context
and select ...
I am using dojo plugin for grails, but in the plugin homepage i see
Note if you are using this plugin, there have been several security
advisories related to the Dojo
framework and it is recommended that
you upgrade or follow the instructions
here: ..
Why? It's a better choice to put official dojo in my webapp instead us...
I want to use a theme in dojo, dojox and dijit. For example tundra. I need to import only
<link rel="stylesheet" href="dojo/dijit/themes/tundra/tundra.css" />
or i need more css to import all style that i need?
Do i need to import specific css for widgets like dialog?
...
I am using datagrid + jsonreststore (which is fetching data from a remote
server), now I am planning to support local sorting
I searched a lot and found we can enable local sorting ( no http rest sent
) by setting
queryOptions: {cache: true},
in the datagrid init
but seems it does not work always...
...
I think the Dojo Toolkit's grid is kind of bad. Even the examples in their site ain't working. Are there any other alternatives?
I'm thinking of using Jquery's Ingrid instead, but would prefer to have all code in one javascript library.
...
I have a bunch of NumberTextBoxes which I created programmatically. Now, I have to compute some values on keypress so I call a function for that... Looks something like this:
...
<head>
...
function setNumTextBox() {
...
var val = {
name: "mytextbox",
onKeyPress: keyPressFxn
}
new dijit.form.NumberTextBox...