Module Ext_grid_View


module Ext_grid_View: sig .. end
The grid View class provides extra Ext.grid.Panel ...

The grid View class provides extra Ext.grid.Panel specific functionality to the Ext.view.Table. In general, this class is not instanced directly, instead a viewConfig option is passed to the grid:

Ext.create('Ext.grid.Panel', {
    // other options
    viewConfig: {
        stripeRows: false
    }
});

Drag Drop

Drag and drop functionality can be achieved in the grid by attaching a Ext.grid.plugin.DragDrop plugin when creating the view.

Ext.create('Ext.grid.Panel', {
    // other options
    viewConfig: {
        plugins: {
            ddGroup: 'people-group',
            ptype: 'gridviewdragdrop',
            enableDrop: false
        }
    }
});


class type t = object .. end
class type configs = object .. end
class type events = object .. end
class type statics = object .. end
val of_configs : configs Js.t -> t Js.t
of_configs c casts a config object c to an instance of class t
val to_configs : t Js.t -> configs Js.t
to_configs o casts instance o of class t to a config object