Roo.util.Observable
Roo.grid.Grid 

		   

Class Roo.grid.Grid

Package:Roo.grid
Defined In: Roo/grid/Grid.js.
Class:Grid
Subclasses: Roo.grid.EditorGrid, Roo.grid.PropertyGrid
Extends: Roo.util.Observable
This class represents the primary interface of a component based grid control.


Usage:

var grid = new Roo.grid.Grid("my-container-id", {
ds: myDataStore,
cm: myColModel,
selModel: mySelectionModel,
autoSizeColumns: true,
monitorWindowResize: false,
trackMouseOver: true
});
// set any options
grid.render();

Common Problems:

- Grid does not resize properly when going smaller: Setting overflow hidden on the container
element will correct this

- If you get el.style[camel]= NaNpx or -2px or something related, be certain you have given your container element
dimensions. The grid adapts to your container's size, if your container has no size defined then the results
are unpredictable.

- Do not render the grid into an element with display:none. Try using visibility:hidden. Otherwise there is no way for the
grid to calculate dimensions/offsets.
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