Sorting a Grid Column

Hi,

I have a column of data type String which is bind to my grouping grid, since its a string it sorts defaultly in alphabetical order.
I am storing date values into this column,so i want to sort this column on base of Date.
Is there any way to do this.
I saw FieldDescriptorTypeConverter, but i didnt found any example for it.

Thanks & Regards
Ajay

3 Replies

AD Administrator Syncfusion Team July 19, 2006 11:55 PM UTC

Here is a forum thread with a sample of a custom sort.

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=36995

Will this work for you?


AB Ajay Bhalegar July 21, 2006 10:35 AM UTC

Hi,

I am able to do sorting on date, but i want to set a default sorting on a column how we can do it.

Thanks & Regards
Ajay

>Here is a forum thread with a sample of a custom sort.

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=36995

Will this work for you?


AD Administrator Syncfusion Team July 24, 2006 09:26 AM UTC

Hi Ajay

If you dont set a custom comparer to the SortColumn, then the default sorting will be applied.

Let us know if you have any further questions.
Thanks,
Rajagopal

Loader.
Up arrow icon