-
26 Oct 2007 10:09 AM #1
Object config, WHERE ?
Object config, WHERE ?
Maybe this is a stupid question, but in all the documentation for each control there is always a param for Object config.
For example, the Grid
Grid( String/HTMLElement/Ext.Element container, Object config )
Where can i find these Config params ?
Drew
-
26 Oct 2007 10:26 AM #2
They are spelled out in the block linked by 'Config Options' http://extjs.com/deploy/ext/docs/out...d.html#configs
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
26 Oct 2007 10:34 AM #3
Thats what I thought, but I dont see ones used in the example
Where is ds, cm, selModel ? (link)Code:var grid = new Ext.grid.Grid("my-container-id", { ds: myDataStore, cm: myColModel, selModel: mySelectionModel, autoSizeColumns: true, monitorWindowResize: false, trackMouseOver: true });
Sorry if i sound like a noob
Drew
-
26 Oct 2007 10:51 AM #4
ds (Store), cm (ColumnModel), selModel (SelectionModel) appear to be missing from the doc.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide


Reply With Quote