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

RadGrid filter menu and date picker

3 Answers 280 Views
Grid
This is a migrated thread and some comments may be shown as answers.
tim
Top achievements
Rank 1
tim asked on 02 Aug 2010, 03:40 PM
Is it possible to add a filtertemplate with a datepicker inside, while also keeping the default filter button  (the one with "equal to, greather than, ...).

The user has to select a date with the datepicker, after which he can click on the other button to select "greater than, equal to, ..."

Is that possible?

3 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 05 Aug 2010, 10:29 AM
Hello Tim,

To implement the desired functionality, you can:
  • use GridDateTimeColumn and grid basic filtering
  • use GridTemplateColumn and the approach from this demo - extend the default GridTemplateColumn class and add a date picker control to it
  • use the Filter templates functionality of the grid.

I hope this helps.

Regards,
Mira
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Umut
Top achievements
Rank 1
answered on 28 Oct 2015, 11:40 AM
The easiest way to provide a date picker is to assign a specific class to that column in the ItemDataBound() event and bind a jQuery calendar object on the client side.
0
Eyup
Telerik team
answered on 02 Nov 2015, 05:35 AM
Hi Umut,

The GridDateTimeColumn automatically renders a RadDatePicker or RadDateTimePicker control to help filtering on date fields. The column also provides EnableRangeFiltering property to implement a Between search scenario. You can check the live samples provided in the previous post for further demonstration.

Regards,
Eyup
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
Grid
Asked by
tim
Top achievements
Rank 1
Answers by
Mira
Telerik team
Umut
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or