I have a hard time figuring out how to use undocumented classes, and grid requires many classes- few of them with any formal documentation. OK it's alpha and it's to be expected!
Specifically, my data is in an array, has the first column as a numeric ID which should be hidden. I'm reading the source and have figured out that in this portion:
the "{id: 0}" says that the row id is in column 0. The second part has one object per column with its attributes.
My real question --> What are the choices for "type"? What are the other config options? <--
The ID should stay hidden. I figure that's a config option in Ext.grid.ColumnModel called "hidden", found it in the source. Semi-rhetorical question: why are the grid source files divided into two directories, source/grid and source/widgets/grid?
I suppose none of this is all that important, I'll slog though it now, and later the docs will be done and it won't be an issue.
Specifically, my data is in an array, has the first column as a numeric ID which should be hidden. I'm reading the source and have figured out that in this portion:
new Ext.data.ArrayReader({id: 0}, [ {name: 'my_id', type: ...},
My real question --> What are the choices for "type"? What are the other config options? <--
The ID should stay hidden. I figure that's a config option in Ext.grid.ColumnModel called "hidden", found it in the source. Semi-rhetorical question: why are the grid source files divided into two directories, source/grid and source/widgets/grid?
I suppose none of this is all that important, I'll slog though it now, and later the docs will be done and it won't be an issue.

#2
![]() |
![]() To answer my own q (more or less):
the "types" of a field are defined in source/data/DataField.js not specifying a type will set it to auto and uses the field as-is valid values for type are:
Some other config options are:
![]() |
#3
![]() |
![]() Next grid-related question, does RowSelectionModel have a config option to specify only one row selected at a time, disabling shift-click/drag/etc? My quick look through the source tells me "no".
![]() |
#4
![]() | |
![]() Quote:
var grid = new Ext.grid.Grid('grid', { ds : ds, cm : cm, selModel : new Ext.grid.RowSelectionModel({ singleSelect : true}) } ![]() |
#5
![]() | |
![]() Quote:
![]() |