View Full Version : GridView focusRow() does not work if column 0 is hidden

19 Dec 2006, 6:21 PM
focusRow() works only if column 0 is not hidden due to the following:


Btw, I'm storing additional internal row data which is never displayed (except for debugging purposes) but used more for determining the style of the grid row, as well as adjacent row cells. Currently, storing these internal data as hidden columns - which probably isn't the best method since hidden columns are created but never ever displayed - appreciate any good suggestions for the JSONDataModel.

20 Dec 2006, 2:18 PM
You should probably consider using the dataIndex property on the column model and "mapping" your data to the appropriate data column index. This allows you to have all the data you want in your data model and selectly include what you want in the grid. Sounds like what you are trying to do.

20 Dec 2006, 6:48 PM
Thanks, will check it out.