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

Filtering RadGrid Date column using option 'Contains'

1 Answer 110 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kanchana
Top achievements
Rank 1
Kanchana asked on 08 Feb 2012, 03:57 PM
Hi,

I have a radgrid with filtering by column set to true and all columns have 'Show Filter Icon' set to false. One of the gridbound columns is of data type Datetime and the dates are displayed in the format  29 Jan (DataFormatString="{0:dd MMM}"). Is it possible to filter this column using 'contains' functionality ie when the user types 29 or Jan and press enter, it should filter all records with the date 29 or all records with a date in Jan?

If such custom filtering is possible, will it still work with filters on other columns?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Feb 2012, 11:54 PM
Hello,

You can use the "Custom" filter function to introduce a filter function that is not included in the default list, or to allow multiple columns with the same data type to have different filtering menus. I suggest that you review the following article for more information:
http://www.telerik.com/help/aspnet-ajax/grid-custom-option-for-filtering.html

Regards,
Pavlina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Ajax
Asked by
Kanchana
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or