Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
855
Sorting Question - Sorting on Two Columns (Date and Time)
posted

Hi.  My app has separate columns for date, time and other data.  I need to sort the grid based first on the date, and then by the time column.  I'm using the following code to sort by both columns but it doesn't work:

band.Columns[timeColumnKey].SortIndicator = SortIndicator.Descending;

band.Columns[dateColumnKey].SortIndicator = SortIndicator.Descending;

Does anyone know how I can sort by the contents of two columns?

I'm using version 10.2.  Thanks.

Parents Reply Children
No Data