Thank you Herb.
Printable View
Thank you Herb.
Hi Herb,
I've been looking into this. Grids are "Sortable" either ascending or descending (there is an indicator in the column header). There is an internal property called "Sortable" for this. The problem is if the grid is a child of another section.
If all you need is a "HeaderClick" delegate I can expose that but there are two ways this works; ascending or descending.
Maybe I can pass a column number to the delegate which is -ve e.g. -2 to sort a column in descending order and +ve to sort it in ascending order.
It would probably be better if this was just handled inside the grid component itself (as it currently is as it creates indexes on the fly). Looking at the code it would need to create the indexes prefixed with the "key expression" i.e. the child key so that as you navigate parent sections the data is refreshed in the correct order.
Is that what you are after.
Yes.
I think that having an indicator in the column header (up/down arrow) would visually allow the user to see which header the column is being sorted on and whether it is ascending or descending.
Herb