-
19 Dec 2006 6:21 PM #1
GridView focusRow() does not work if column 0 is hidden
GridView focusRow() does not work if column 0 is hidden
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.Code:row.childNodes.item(0).focus()
-
20 Dec 2006 2:18 PM #2
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 #3
Similar Threads
-
Hidden Column Headers
By willpage in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 16 Jan 2007, 3:05 PM -
Problem with hidden column in grid
By manugoel2003 in forum Ext 1.x: BugsReplies: 7Last Post: 21 Dec 2006, 8:50 AM -
In Grids, does not work function "focusRow" :(
By lbpf in forum Ext 1.x: Help & DiscussionReplies: 6Last Post: 29 Nov 2006, 6:39 AM -
GridView fitColumnsToContainer should ignore hidden columns
By jarrod in forum Ext 1.x: BugsReplies: 8Last Post: 31 Oct 2006, 6:57 PM -
EditGrid hidden column
By anakreon in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 25 Oct 2006, 2:05 AM


Reply With Quote