View Full Version : Object config, WHERE ?
cgishack
26 Oct 2007, 10:09 AM
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
tryanDLS
26 Oct 2007, 10:26 AM
They are spelled out in the block linked by 'Config Options' http://extjs.com/deploy/ext/docs/output/Ext.grid.Grid.html#configs
cgishack
26 Oct 2007, 10:34 AM
Thats what I thought, but I dont see ones used in the example
var grid = new Ext.grid.Grid("my-container-id", {
ds: myDataStore,
cm: myColModel,
selModel: mySelectionModel,
autoSizeColumns: true,
monitorWindowResize: false,
trackMouseOver: true
});
Where is ds, cm, selModel ? (link (http://extjs.com/deploy/ext/docs/output/Ext.grid.Grid.html#configs))
Sorry if i sound like a noob :)
Drew
tryanDLS
26 Oct 2007, 10:51 AM
ds (Store), cm (ColumnModel), selModel (SelectionModel) appear to be missing from the doc.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.