public class GxClientSortModel
The sorting model describes how the columns will be sorted on the client
Modifier and Type | Method and Description |
---|---|
void | add(BBjString column!, BBjString sorting!) Add new column sorting to the model |
BBjString | get(BBjString column!) Get sorting for the given column |
JsonArray | getAsJsonArray() Convert the model to JSON array |
void | remove(BBjString column!) Remove a column from the model |
public void add(BBjString column!, BBjString sorting!)
Add new column sorting to the model
BBjString
column! The column idBBjString
direction! the sort direction BBJGridExWidgetColumns.SORT_DESC()
BBJGridExWidgetColumns.SORT_ASC()
public BBjString get(BBjString column!)
Get sorting for the given column
BBjString
column! the column idpublic JsonArray getAsJsonArray()
Convert the model to JSON array
public void remove(BBjString column!)
Remove a column from the model
BBjString
column! the column id