NEW4.01.00 · Released 29 April 2024
NEWfinPOWER Connect
Released in
4.01.00
29 April 2024
  1. Opened1 Dec 2023
  2. Closed15 Mar
  3. Released29 Apr
Article 20984 Job J032540

HTML Widgets; Grids; RowMoveUp() and RowMoveDown() functions could act unpredictably for Grids using groupings

Grids which use grouping (i.e., the groupByColumns option was specified when the grid was initialised) could react unpredictably if using the following functions:

  • grid.RowMoveUp()
  • grid.RowMoveDown()

The row would try to move beyond its grouping, which was incorrect.

This has been fixed, and now rows can be moved up and down, but only within their grouping. Attempting to call these functions when the selected row is already at the top (or bottom) of the grouping will have no effect.

Note: The following conditions will not allow rows to be moved:

  • Grids where any column is "sortable".
  • Grids where a custom "Group by Order" has been set when the Grid is initialised.

This is because for Grids configured in this way, the order / sort has been specifically set and therefore the User should not be able to override this. Normally, Grids configured like this are read-only grids, whereas moveable rows are for grids where the data can be edited.