Class type Ext_grid_feature_Feature.t


class type t = object .. end
Inherits
method disabled : bool Js.t Js.prop

True when feature is disabled.

Defaults to: false

method eventPrefix : Js.js_string Js.t Js.prop

Prefix to use when firing events on the view. For example a prefix of group would expose "groupclick", "groupcontextmenu", "groupdblclick".


method eventSelector : Js.js_string Js.t Js.prop

Selector used to determine when to fire the event with the eventPrefix.


method grid : 'a. 'a Js.t Js.prop

Reference to the grid panel


method hasFeatureEvent : bool Js.t Js.prop

Most features will expose additional events, some may not and will need to change this to false.

Defaults to: true

method view : 'b. 'b Js.t Js.prop

Reference to the TableView.


method disable : unit Js.meth

Disables the feature.


method enable : unit Js.meth

Enables the feature.


method getFireEventArgs : 'c 'd 'e 'f. 'c Js.t -> 'd Js.t -> 'e Js.t -> 'f Js.t -> unit Js.meth

Abstract method to be overriden when a feature should add additional arguments to its event signature. By default the event will fire:

The method must also return the eventName as the first index of the array to be passed to fireEvent.

Parameters: