RadGrid filter menu and date picker

4 posts, 0 answers
  1. tim
    tim avatar
    3 posts
    Member since:
    Jul 2010

    Posted 02 Aug 2010 Link to this post

    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?
  2. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 05 Aug 2010 Link to this post

    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
  3. Umut
    Umut avatar
    1 posts
    Member since:
    Jul 2014

    Posted 28 Oct 2015 Link to this post

    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.
  4. Eyup
    Admin
    Eyup avatar
    3819 posts

    Posted 01 Nov 2015 Link to this post

    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
Back to Top