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
280
Sort on a hidden column
posted

I have a Time column that is string formatted in "HH:mm:ss" format.The sort on this is set to descening , some times the sort is not correct as it is a string.

I already have a hidden column that has values in ticks.So when ever the user tries to sort on time column, i thought i would apply the sort order on this

hidden column. How do i acheive this??

I dont want to use the sort comparer as it is taking some cpu.

While going through some other posts i saw that setting the headerclickaction to external will help , but i only want to perform my sorting on

the hidden column only when the user clicks on the Time Column.

Thanks in advance,

Vj