This object allows setting sorting for a column in the flat form. Only for "json", "csv", and "api" data source types.
"json"
"csv"
"api"
{ uniqueName: string, sort: string }
"asc"
"desc"
"undefined"
Example with the FlatSortObject:
slice: { // Other slice properties flatSort: [ { uniqueName: "Category", sort: "desc", }, { uniqueName: "Price", sort: "asc", }, ], }
In this guide