Hi,
My Grid contains more than 500 rows and calling ig.smartSubmit("id",null,null) is taking a lot of time to populate the model and even refreshing the page occasionally which looks like a bug.
Is it possible to submit only the current row in grid once the current row is modified to make it faster ?
I am fetching the current row like this:
var row=ig.grid.getTargetRow(domNode);
Also how can i know the current row number from row object above? Is it possible to fetch cell values in the current row in grid?
Regards
Hi:
Yes you can send updates for the current row to the server. For an example, please go to componentsforjsf.com. n the "ONline Demo"section, look at example #5 "Editable Fields" in the Grid demos.
You'll also find an example fo getting the current row under examples #9, 10 and 17.
Thanks,Jim
Just to let you know more further, ig.smartSubmit() behaves similarly whether you pass 3 parameters or 5 i.e. ig.smartSubmit(gridid, null, null, gridid,null) is still slow and sometimes causes page refresh when number of rows in grid are more 30 or more.
I dont think you have answered my question on the performance front !!
Hi sdtsupp,
1) Just to let you know the ‘ig.smartSubmit’ method is javascript uses 5 arguments and not just 3 i.e. ig.smartSubmit('Formid',null,null, 'Formid:id', null).
2) Currently, there is no any easy way to retrieve the row ID from the grid and requires custom coding in javascript and server side.
Thank you!