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

Custom Filtering in datetimecolumn

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
saravanan k
Top achievements
Rank 1
saravanan k asked on 07 Jun 2010, 07:45 AM
Hi,
        
        I am having a datetime column which is bounded to a database column which stores date and time as well. I cannot truncate the time details while displaying. I am using the default filter on this column. But the problem is when i select a date it matches the data for date + 12.00 AM and selects no records. Instead i want to compare the date alone and display all the records of that date. I guess i need to do a custom filtering. Please help me with few code snippets of how to do it.

Thanks,
Saravanan K

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Jun 2010, 08:46 AM
Hi Saravanan,

Here is a forum which discusses similar scenario. Please download the attached project and see whether it helps you
Auto filtering in datetime column

-Shinu.
Tags
Grid
Asked by
saravanan k
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or