Login Register

update

Size modified on the grid when Grid.update () called

Hi,
First of all, all my apologizes for my english mistakes.

I have a problem using dojox.grid. I have a button that call an xhrGet to retrieve a Json file on the server. This xhrGet call a function, this one :

function createGrid (sResponse, ioArgs) {
            var grid = dijit.byId("gridu");
            var store = new dojo.data.ItemFileReadStore({data: sResponse });
            var gridModel = new dojox.grid.data.DojoData(null, store, {query:{date: '*'}, clientSort:true});
            grid.setModel(gridModel);
            grid.refresh();
        }

Updating the grid when the server-side data changes.

Hi there,

I'm using a grid that sources it's data from the server side using the custom model defined in the talk section of the docs for "Sorting and Other Dojo.Data Considerations" (see the declaration for "xyz.data.ServerGridData").

It works very nicely except when the data on the server side changes - e.g. when I use the grid to display results of a search. Something like:

dojo.xhrPost({
url: '/doquery',

Drag & Drop - update the value of input elements

Hi,

i have some problems with dojo.dnd. I want to implement the Drag & Drop Funtion with JavaScript, so that the dnd items will be generated dynamicly and i can change the positions of them in the container. And now the problem:

when i include some input elements into the items, change the values and move the items, they wont be updated at the avatar. Why? Can someone help me?

Thanks

The Code

index.html

First Widget
 

Grid Cell Value Update

Hi guys!

I need to make multi row update of appropriate column in one action and would like to know how can I update the cell value...

I tried with grid.model.setDatum(cellIdx,rowIdx, Value) and I see no differences.

Thank you
David

Syndicate content