Posted 11 April 2020, 1:53 am EST
Hi,
How do you modify the code below to sort a Grid by two columns? Code below gives a “Raise event required” error message.
C1Screen1.Sort(C1Screen1.Columns(0), ListSortDirection.Ascending)
Thanks,
Victor
Forums Home / ComponentOne / WinForms Edition
Posted by: Victor.m.charles.civ on 11 April 2020, 1:53 am EST
Posted 11 April 2020, 1:53 am EST
Hi,
How do you modify the code below to sort a Grid by two columns? Code below gives a “Raise event required” error message.
C1Screen1.Sort(C1Screen1.Columns(0), ListSortDirection.Ascending)
Thanks,
Victor
Posted 13 April 2020, 7:29 am EST
Hi Victor,
There is no direct method for sorting columns in the TrueDBGrid, you need to sort the data source columns as demonstrated in your last posts.
Regards,
Prabhat Sharma.
Posted 13 April 2020, 7:42 am EST
Thanks