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

Customize grouping

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
shadow
Top achievements
Rank 2
shadow asked on 18 Jul 2008, 06:03 AM
I am using the radgrid on my page. It is showing the data from the database by dataset, there is a column to show the data / time. I have enabled the grouping on grid. When i drags the date / time column on to the group portion of grid it groups the grid data by date / time but i want to group just by data not by time. I have not defined any group by clause in my sql query, my question is that how i can group the column just by date not by date / time.

1 Answer, 1 is accepted

Sort by
0
Bodevain Svensson
Top achievements
Rank 1
answered on 21 Jul 2008, 11:55 AM
I found this code library recently with a solution for custom DateTime object in order to have more flexible grouping for DateTime columns:

http://www.telerik.com/community/code-library/submission/b311D-bbccad.aspx

You may find worthwhile testing similar approach.

Bodevain
Tags
Grid
Asked by
shadow
Top achievements
Rank 2
Answers by
Bodevain Svensson
Top achievements
Rank 1
Share this question
or