This is a migrated thread and some comments may be shown as answers.

sort column of date type

1 Answer 175 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
alejandro
Top achievements
Rank 1
alejandro asked on 02 Oct 2019, 06:29 AM

Hi,

I have a table with a date type column.

Hello, I have a table with a date type column. I am trying to sort it ascendingly, the types of numeric data and Strings work correctly but the date types do not recognize them.

How can I do it?

 

Thank you.

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 04 Oct 2019, 03:12 PM

Hello Alejandro,

Basically, when you create the table the records will be displayed in the same order as in the datasource. Then if you apply sorting by the string column, all the strings will be sorted and the dates will be displayed as in the datasource. If there are multiple dates that correspond to the same string, then you can add second sorting based on the dates.

For more information, take a look at Sorting table Data article. You can also check the attached sample report.

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
alejandro
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or