Hi there,
We've come across an issue with Tree Grouping and wonder if there's any way we can achieve something to fit our use case.
Currently we allow grouping on many fields. For some of these fields - the values may be Guids.
We have been able to handle this with the parentRenderer function and translate them from Guids to their actual text values.
The issue we're having is in regards to the sorting of the grouping rows themselves - not the data under the groups.
It is sorting them properly according to the value, but it is a Guid value which is useless to sort on.
Example:
Parent 1 (has a text value for the first group field)
- Child 2 (has a Guid value of 4d86bbf3-14d3-42f9-bbf5-af9581d4d477)
- Child 1 (has a Guid value of 62fd3bf6-0eaf-4449-967c-269ad7c05e38)
- Child 3 (has a Guid value of 85078627-e767-4472-bad1-d50cd8c59fbf)
The sorting is technically working properly, but we want to be able to intercept this and sort based off of their corresponding text values so that it should look like this:
Parent 1 (has a text value for the first group field)
- Child 1 (has a Guid value of 62fd3bf6-0eaf-4449-967c-269ad7c05e38)
- Child 2 (has a Guid value of 4d86bbf3-14d3-42f9-bbf5-af9581d4d477)
- Child 3 (has a Guid value of 85078627-e767-4472-bad1-d50cd8c59fbf)
Is there any way to implement a custom sorter function to control the sorting of these grouping rows similar to how we can manipulate them with the parentRenderer?
We are not able to do data translation on the records themselves, so that is not an option.
Thanks