Login Register

grid.refresh(), grid.edit.apply() and gird.edit.cancel() are not working................

the grid is having some big

the grid is having some big changes right now http://www.sitepen.com/blog/2008/07/14/dojo-12-grid/

i'm using the grid in an app that i'm developing and i was using refresh and figured this out:

grid.refresh() is now grid.update()

i don't use the other 2 functions but if you look through the source code dojox/grid/DataGrid.js and other files in the grid directory like dojox/grid/_Grid.js you will figure it out. i think it's grid.doApplyEdit() and grid.doCancelEdit() now.

ben...

the code is the best documentation available

if you're going to use the nightly build then by default, the code is probably going to be the best documentation available. sometimes, even if you're not using the nightly build, the code is the most up to date documentation. the dojo book gives you a broad overview to inspire you to think of what you might be able to do and sometimes you just have to look at the toolkit code to figure out the details. i use a combination of the tests, dojo book, api reference and the toolkit code.

hopefully 1.2 will be here soon and everything will get a little more caught up and in sync with the release - please...

I realized, but

I realized, grid.edit.apply() and gird.edit.cancel() work on a specific row, not the whole grid

I still can't get my grid.refresh() working......... I tried grid.update() too....

will keep you posted once its works............

Thanks,
Ravi

some progress if you have

some progress

if you have buttons in your form, the behavior is weird. I am still having problems getting my grid.refresh() to work. If I filter on something and then if I want to revert it back, I need to refresh.

Please help if you got grid.refresh working. I have a deadline to meet.

Thanks once again