I want to load a Grid partially, I mean row by row.
I use the following as:
var ar=grid_data.split(’,’);
mygrid_bob.parse(ar,‘jsarray’);
but Grid puts a letter to each cell instaed of a whole string.
Debugging grid_data and var ar, shows correct.
Please, is there anything else I can do?
Thanks,
John
Parameter of parse command must be matrix of values, so change your command as mygrid_bob.parse([ar],‘jsarray’); or just use addRow command instead of parse
mygrid_bob.addRow(mygrid_bob.uid(),ar);
When you have to load 100 rows to every of 4 Grids, addRow is very slower than other methods.
This is the reason I 'm trying to parse with jsarray or XML.
Is it possible to use XML instead of jsarray, but partially?
Thanks,
John
You can useupdateFromXML(url, insert_new, del_missed, afterCall) method where insert_new - insert new items, del_missed - delete missed rows, afterCall - function, will be executed after refresh completted
Ok, thanks
JL