I have a three-level hierarchical grid, in which I'd like each of the sub/child grids to be sorted based on a column.
I'm having no problem getting the top-level grid sorted since there's an OrderBy clause in the query that populates the CollectionViewSource that the grid is bound to.
Is there a property that can be set on the sub-grids to cause them to, by default, sort on a particular column?
Example:
Customers (sorted on last name)
Orders (sorted by date)
Order Line Items (sorted by quantity)
Thanks.
I'm having no problem getting the top-level grid sorted since there's an OrderBy clause in the query that populates the CollectionViewSource that the grid is bound to.
Is there a property that can be set on the sub-grids to cause them to, by default, sort on a particular column?
Example:
Customers (sorted on last name)
Orders (sorted by date)
Order Line Items (sorted by quantity)
Thanks.