PDA

View Full Version : How can I convert a selected row data to a javascript object



burgleboy711
27 Dec 2006, 9:51 PM
I have a grid with data (I'm using JSONDataModel). I want to convert selected row data to a javascript object to easy to handle data. I had use selModel.getSelectedRows(), in documentation, it return an Array but I can't handle data in this array. Can anyone help me?

jack.slocum
28 Dec 2006, 3:48 AM
The grid has other useful methods (such as getSelectedRowIds, getSelectedRowIndexes()) that you can use along with your data model to fetch the row data.