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

Is the source for Filter Dialog available?

2 Answers 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jerry Kurata
Top achievements
Rank 1
Jerry Kurata asked on 24 Feb 2011, 10:11 PM
Hi,

I need to extend the standard Filtering to support some additional data types I use in my grid (ex. Comma separated values).  I like to look of the standard dialog and would like to use it as the basis for my dialog.  Is that source for this dialog available?

Thanks,

jerry

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 25 Feb 2011, 12:51 PM
Hello Jerry Kurata,

You may predefine the functionality of the filtering control just as described in this blog post and in our demos. Furthermore, I am sending you a sample project illustrating how you may filter comma-delimited values.
Let me know in case you need any further assistance.
 

Regards,
Maya
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Jerry Kurata
Top achievements
Rank 1
answered on 05 Apr 2011, 11:06 PM
Thanks you very much for the sample and I am sorry for taking so long to get back to you.

After reviewing the sample I don' think it will work for what I need.  The data in CSV list is rather specific and I need to handle each of the individual items.  For example the list might be a list of dates and I need to find the row whose that has a date in a time window.  That is the rows the date column would look like:

Row 1:  "Item1Date1: 12-December-2005, Item1Date2: 16-March-2005, Item1Date3: 10-match-2005"
Row 2:  "Item1Date1: 12-August-2006, Item1Date3: 01-June-2006"
Row 3:  "Item1Date1: 01-July-2006, Item1Date3: 03-July-2006"

The user would like to be able to filter on Date > 01-January-2006  AND Date < 15-July-2006, which would return rows 2 and 3.

For a numeric list row the data could be:

Row 1: "5,10,22"
Row 2: "12, 15, 6"
Row 3: "9, 14, 8"

When the user queries with Value < 7 Rows 1 and 2 would be returned because they contain values in their lists that meet the criteria.

So I guess I need to be able to write the comparison method that is used by the filter.

Thanks,

jerry
Tags
GridView
Asked by
Jerry Kurata
Top achievements
Rank 1
Answers by
Maya
Telerik team
Jerry Kurata
Top achievements
Rank 1
Share this question
or