dojo

Disable nested sorting in dojo enhancedGrid

I'm currently trying to disable the nested sorting, as it does not pass the parameters for the nested sort to the store url (only the first sorted column gets passed over). I tried to set "nestedSorting: false" in the grid setup (programmatically), but the sorting is still being showed in the grid headers. Isn't it possible to disable th...

dojox.grid.DataGrid can't display repeat rows?

We have a situation where we need to display data from a database in a grid which has repeat rows, but it seems at least the basic examples fail when the cell data is identical with Sorry, an error occurred. An example follows: <script> dojo.require("dojo.data.ItemFileWriteStore"); dojo.require("dojox.gri...

dojo datagrid will make the page "jump" when sorting is changed

Hi, I have a Dojo Datagrid in one of my pages (which contains more content) and the following problem occurs: As soon as I click on a column header to change the sorting, the page will jump up as if I clicked on some HTML-anchor. Funny enough, the page jump will make the grid show only the first two rows after it jumped, instead of (e....

dojo dynamic right click context menu

There are tons of different dojo right click context menus in a page slowing down the browser. Some divs have context menus while some others don't. So I just can't have a dynamic global context menu and still be able to fallback to the browser's built in menu in some cases, do I? The non lazy instantiation of the dojo context menus just...

What are some arguments to support the position that the Dojo JavasScript library is secure, accessible, and performant?

We have developed a small web application for a client. We decided on the Dojo framework to develop the app (requirements included were full i18n and a11y). Originally, the web app we developed was to be a "prototype", but we made the prototype production quality anyway, just in case. It turns out that the app we developed (or a variant ...

How can we use DOJO from CDN in OpenSocial App?

How can we use DOJO from CDN in OpenSocial App? ...

Zend_ACL isAllowed causes issues with dojo

Hi all, I got an issue setting up Zend_Acl, I got it pretty well setup and running but I realised that in some forms where I'm using zend_dojo, dojo doesn't actualy gets loaded. Without going to I have setup my access list, as soon as I call the line isAllowed with the name of the resource taken from the request object, dojo is not loa...

How to control Dojo FilteringSelect default rendering!?

Hi, I have a dojo dijit.filering.select that populates with values from a dojo.data.ItemFileReadStore. Everything is working fine except I would like the filtering select to automatically get populated with the first value in the itemFileReadStore. Currently it is loading them as a list of options that are revealed when you click the do...

Incorrect rendering in dojox charting stacked column?

Hiya, I seem to be having a problem with my dojo stackedcolumn whereby the scale of some of the bars is correct for some x-axis points, but not others. Here's my code (observe the northern ireland hydro should be 70, but only shows as around 30): dojo.addOnLoad(function() { var chart1 = new dojox.charting.Chart2D("sitesbycountry"); ...

DOJO: Adding multiple conditions for querying dojox.grid.DataGrid

Hi, I'm trying to create a DOJO DataGrid populated using a dojo.data.ItemFileReadStore with very simple json data which has an ID and a description. When an event occurs, i need to filter the rows displayed based on the IDs. When its a single ID, i can fix it by just adding myGrid.setQuery({ID:"someIdIWant"}); Is there some way i can fi...

How can we use DOJO from CDN in OpenSocial App?

How can we use DOJO from CDN in OpenSocial App? If someone have a sample then that will be really helpfull! ...

SOAP Requests in Dojo

I am trying to make a call to a SOAP web service through Dojo, but have found no relevant, up-to-date documentation on how to make a SOAP request. Does anyone have any experience making a SOAP request in Dojo? ...

Ensuring dynamically added Dojo Dijits are registered in the DOM.

I need to dynamically create Dijits to add N rules to a particular form. Currently I am adding them with the following javascript. var value = new dijit.form.Select({ id: "value_" + counter, store: ValueStore, searchAttr: "description" }, "stateSelect" + counter); value.placeAt(form, "last"); value.startup(); This ...

dojo.xhrPost and Zend Framwork action, no POST data, not using a form

Hi all, I'm trying to send some data via dojo.xhrPost to an Zend Controller Action. I can see the data being sent in Firebug console. However, when inspecting the post data, the array is empty. I'm not sure if it is possible to send an arbitrary string of data via dojo.xhrPost without using a form. This is probably a very n00b mistake. ...

Setting dijit.Tree cookie for all pages

I'm using the same dijit.Tree view over several pages in our application, and I'd like to have the cookie saved for the server name, instead of the folder name. Right now I've got 3 pages and 3 cookies, which each hold their own information on the state of the Tree, which is kinda annoying. Any ways to accomplish this? The only thing I'...

dojo ajax dropdownlist

I am trying to set a web application using ajax dojo technology. For this I need an exemple showing how to send and receive data with dojo library.I use also J2ee in my project. Please if you have a constructive example show it to me. Client side: JSP with ajax dojo its purpose is to send a selected item to the server side. Server side:...

understanding logic of dijit css and styles

Hi, I am trying to use dijit.InlineEditBox. I have put the following code in my HTML, using the example in the dojo docs: <script type="text/javascript"> dojo.require("dijit.InlineEditBox"); dojo.require("dojo.parser"); dojo.require("dijit.form.TextBox"); function editableHeaderOnChange(id, arg){ alert("detail...

How to set overflow:hidden for dojo's dialog box

I'm using a dojo dijit dialog box to popup data for the lightbox effect. The problem is that dojo dynamically changes the style attributes of "containerNode", so that if the box is bigger than the browser window a scroll bar appears. It sets "overflow:auto" dynamically. I know this makes sense to do, but I want to override this and ...

Customize Dojo Menu

Hello, I have a dropdown menu made in dojo, and I would like to have a fixed width for the dropdown container. How could I do that? (sorry for my bad english) ...

Three ways of ataching to events with dojo. What exactly is the difference?

Is the difference here just various syntactical sugars or is there a reason to use one approach over the other? They all work, and to be a little more confusing what is the difference between this and evt.currentTarget? the CSS #reportDetails table tr:hover td, #reportDetails table tr.hover td { background: #aae4e2; color: #33...