Hi,
I need to programmatically update the sort order for a gridview, for example if I have a list of orders from different companies, in different countries for different amounts, and the user clicks on the country column to sort, I want to add the company and value columns to the sort so that within each country the orders are sorted by company, and within a company the orders are sorted by amount.
I have tried to add these as SortDescriptors in the 'Sorting' event but I cannot get the sort to use the newly added descriptors.
What technique should I be using?
Thanks,
I need to programmatically update the sort order for a gridview, for example if I have a list of orders from different companies, in different countries for different amounts, and the user clicks on the country column to sort, I want to add the company and value columns to the sort so that within each country the orders are sorted by company, and within a company the orders are sorted by amount.
I have tried to add these as SortDescriptors in the 'Sorting' event but I cannot get the sort to use the newly added descriptors.
What technique should I be using?
Thanks,