Roo.util.Observable
Roo.grid.ColumnModel 

		   

Class Roo.grid.ColumnModel

Package:Roo.grid
Defined In: Roo/grid/ColumnModel.js.
Class:ColumnModel
Extends: Roo.util.Observable
This is the default implementation of a ColumnModel used by the Grid. It defines
the columns in the grid.

Usage:


var colModel = new Roo.grid.ColumnModel([
{header: "Ticker", width: 60, sortable: true, locked: true},
{header: "Company Name", width: 150, sortable: true},
{header: "Market Cap.", width: 100, sortable: true},
{header: "$ Sales", width: 100, sortable: true, renderer: money},
{header: "Employees", width: 100, sortable: true, resizable: false}
]);


The config options listed for this class are options which may appear in each
individual column definition.

RooJS Fix - column id's are not sequential but use Roo.id() - fixes bugs with layouts.

Class Comments / Notes => [Add Your comment/notes about this class]
Config Options (Usually are also Properties)
Options Defined By
Public Properties - Has None
Public Methods
Method Defined By
Events
Event Defined By
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:54 GMT+0800 (HKT) Based on JsDoc Toolkit