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

Filtering datetime range in a custom filtering column

0 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 21 Jul 2011, 09:32 AM
Hi,

I'm evaluating the RadGrid control and I have problems with filters.

I have a datetime column and I want to add a filter for filtering between two dates. If I use a GridDateTimeColumn I can use a RadDatePicker in the filter, but only for one date (not a range).

After studying the sample 'Filtering range with RadDatePicker instances in a custom filtering column' you provide in the code library (code library article), I think it could be a solution.

I've used the sample code to create in my app a custom templated column and the filtering process works fine, but there is a problem:
    - I choose two dates in the combo and apply the filter, the filtering works fine.
    - If I apply the filter of another column (without clearing the filter applied to datetime), the datetime filter is cleared and only remains the filter of the other column.

How can I apply filters in other columns after datetime filtering without loosing the datetime filter?

Thanks in advance,
John.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
john
Top achievements
Rank 1
Share this question
or