Login Register

refresh

Problems updating multiple Trees with ItemFileWriteStore

Hello all:

I'm pretty new to Dojo, and I'm really impressed with it so far. I've run into a small snag with the Tree widgit though, and was wondering if I'm doing something wrong, or if I've found a bug.

I have an ItemFileWriteStore, reading JSON data from my server. There are two types within this data: 'folders', and 'items'. As you might suspect, an 'item' resides within a folder.

I have two trees. The first tree displays folders, and the item children of the folders. The second tree displays all items.

Unwanted page reload/refresh

I have written an application that allows the user to enter query criteria into a set of filteringSelect elements and submit the criteria and have the result returned in a grid. For some reason, if all four of the filteringSelects are touched, the entire page will reinitialize, reloading all the dojo modules, performing all the scripts in the header, reloading all the functions and performing a bunch of gets to the server that should only be performed once at the initial load of the page. I am having trouble pinpointing what is triggering the reload.

Dojo doesn't load first time through on IE7 - refresh and all is well

Have a very simple piece of code. FF2 works fine first time hitting. IE7 doesn't work until you refresh. Why?

Code:

--->
 

Charting using Dojox

I have used the jpgraph package and prototype to create a page with auto-refreshing graphs that keep updated values from an SQL database. Dojox looks really convincing so I want to give it a try. Can someone please point me out in the right direction of creating a chart, linking it up to a database and then refreshing it?

problems with refresh

Hello,

I have got a following problem:
I have a grid showing a shopping cart (stored on the server side, fetched with a custom write store from the server over DWR). When I put something to the cart using other controls, I want my grid to make a refresh. However, nothing happens! Not a single call to a data model. If I refresh the entire page with a browser button, the new stuff is showing...

My code looks like:

myShoppingCart.put(new order);
dijit.byId("shoppingCartGrid").update();

Instead of update I also tried render() and refresh()

Refreshing grid, model, datastore ... ?

Hi all,
I'm messed up with all those things !

I have this generated datastore:

This datastore feeds a grid using a model:

var myView = {
cells: [[
{name: 'mydata', field: "data"}
]]
};

Syndicate content