Constructor
new module:caplin/grid/decorator/ColumnMenuDecorator(mConfig)
Constructs a
caplin.grid.decorator.ColumnMenuDecorator
instance — end-users will never need to do
this themselves since grids are fully constructed based on their XML definition files by the
module:caplin/grid/GridComponentFactory
class.
The ColumnMenuDecorator
adds a menu to each column that allows the user to add or remove columns as
necessary. The columns that can be added or removed are controlled entirely from the XML configuration that is used
to construct the module:caplin/grid/GridColumnModel
. This includes whether a column is mandatory or
not.
Parameters:
Name | Type | Description |
---|---|---|
mConfig |
Object | config object |
- Implements:
- Deprecated:
- This class should no longer be used. Please use
module:caplin/grid/decorator/ColumnHeaderMenuDecorator
instead
- This class should no longer be used. Please use