You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like a sorting is applied to the groups. This is not the requirement every time. I found an option in the demo to be able to change the sort order in ascending or descending but no option to disable this sorting at all.
In my case, I need to group the data and display the groups in the same order in which groups were collected from the data.
The text was updated successfully, but these errors were encountered:
group level sort is mandatory by default, because it makes sense in most cases by making sure non-contiguous rows are put into the same groups. For example: given the following data:
Without group sort, item1 and item4 won't be put together. If this is not what you want, there's still ways to change. Simply specify a custom-sort prop which overrides the default sort function which sort by group first then sort by items within group second. Items within group sort can also be disabled by:
add disable-initial-sort prop
add sortable: false to each header entry in the headers prop
By doing all above, you can have a complete no sort table whose items order are entirely driven by the data coming in on both group and item level.
What problem does this feature solve?
It looks like a sorting is applied to the groups. This is not the requirement every time. I found an option in the demo to be able to change the sort order in ascending or descending but no option to disable this sorting at all.
In my case, I need to group the data and display the groups in the same order in which groups were collected from the data.
The text was updated successfully, but these errors were encountered: