Article Details
Id: | 19341 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 4.00.00 |
Opened: | 22/06/2022 |
Closed: | 11/07/2022 |
Released: | 21/12/2022 |
Job: | J029022 |
![]() |
HTML Widgets; widget.UI.Grid; "groupByDesc" deprecated and replaced with "groupByOrder" option
Prior to version 3.04.04, if a grid's orderByDesc option was left at the default of false, the grid's source data was not sorted, meaning it was assumed to be in the correct order for display.
Version 3.04.04 incorrectly sorted the data in ascending order if orderByDesc was left as false. This meant that there was no way to supply grid data in the correct order, e.g., if you wanted a custom grouping order such as "A,C,B".
The orderByDesc option has been obsoleted and replaced by a "groupByOrder" option. The default for this option is blank which means the data will NOT be sorted. This option can be set to either "ASC" or "DESC" to force a grouping sort order.