Sort Editable Grid By Column Values

Creating sortable columns in a read-only grid seems very straightforward, but I cannot figure out how to do this in an editable grid. I am trying to do this for a numeric decimal column, but would also like the grid to be sortable by multiple columns. Please let me know any suggestions or resources. 

  Discussion posts and replies are publicly visible

Parents
  • The sorting configuration for editable grid rows is not configured as a parameter from within a!gridLayout() itself. Sort the data outside of the grid component and then loop over the sorted items in the "rows" parameter of the editable grid. For example, if the data you want to sort is coming from a query, use the pagingInfo parameter of the query to sort the data appropriately before it is passed into the grid.

Reply
  • The sorting configuration for editable grid rows is not configured as a parameter from within a!gridLayout() itself. Sort the data outside of the grid component and then loop over the sorted items in the "rows" parameter of the editable grid. For example, if the data you want to sort is coming from a query, use the pagingInfo parameter of the query to sort the data appropriately before it is passed into the grid.

Children
No Data