Class type Ext_grid_Panel.configs


class type configs = object .. end
Inherits
method columns : 'a. 'a Js.t Js.prop

An array of column definition objects which define all columns that appear in this grid. Each column definition provides the header text for the column, and a definition of where the data for that column comes from.

This can also be a configuration object for a {Ext.grid.header.Container HeaderContainer} which may override certain default configurations if necessary. For example, the special layout may be overridden to use a simpler layout, or one can set default values shared by all columns:

columns: {
    items: [
        {
            text: "Column A"
            dataIndex: "field_A"
        },{
            text: "Column B",
            dataIndex: "field_B"
        }, 
        ...
    ],
    defaults: {
        flex: 1
    }
}

method rowLines : bool Js.t Js.prop

False to remove row line styling

Defaults to: true

method viewType : Js.js_string Js.t Js.prop

An xtype of view to use. This is automatically set to 'gridview' by Grid and to 'treeview' by Tree.

Defaults to: 'gridview'