LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


moveRow(name, row, targetRow, direction, position)

Moves a row or set of rows in specified direction in TreeGrid directive.

Parameters

ParamTypeDetails
nameStringThe value of name attribute of the TreeGrid directive
rowObject or ArrayThe row or array of rows to be moved
targetRow (optional)ObjectA reference row after or before moved rows will be positioned
directionStringDirection at which row(s) will be moved
position (optional)IntegerThe indexed location within the collection to move the row(s)

Return Value

This method does not return a value.

Remarks

This method is part of IntegralUITreeGridService.

The following values are accepted by the direction argument:

  • 'after' - the row(s) are moved after specified target row
  • 'at' - the row(s) are moved at specified position
  • 'before' - the row(s) are moved before specified target row
  • 'first' - the row(s) are moved at first position
  • 'last' - the row(s) are moved at last position

Version Information

Supported in: v2.3.

Articles & Samples

See Also