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

Grouping By Date Time

1 Answer 253 Views
Grid
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 10 Jan 2013, 04:52 PM
I have a series of objects that have a datetime stamp. Is there a way to group them by date, despite the time stamps being different? For instance, if two object occurred on the same date, but at different times, I'd like them to be in the same "Date" group, but sorted by time.

Thanks,
Will

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 14 Jan 2013, 01:21 PM
Hello William,

I am afraid that what you would like to achieve is not supported by Kendo Grid. By default the Grid data is grouped by the values in its DataSource. If you want to group by date (excluding time) you may define custom parse function and trim time information from the data. In this way however, you will not be able to sort by time.

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
William
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or