new module:ct-grid /decorator /Remove Row Decorator(decorator Config)
Constructs a RemoveRowDecorator
instance — end-users
will never need to do this themselves since grids are fully constructed based on their XML
definition files by the module:ct-grid/GridComponentFactory
class.
The RemoveRowDecorator
class provides immediate visual feedback of a rows pending
removal until the server round-trip has completed, and the row is actually removed from the view.
The remove row decorator is not required for the
module:ct-element/handler/RemoveGridRowOnClickHandler
class to function correctly, but
merely improves the responsiveness of the UI during such an operation.
Parameters:
Name | Type | Description |
---|---|---|
decoratorConfig |
object | config object |
Methods
set Grid View(grid View)
Parameters:
Name | Type | Description |
---|---|---|
gridView |
module:ct-grid |
The grid view |