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

Creating external filtering on columns with different types

1 Answer 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Xoma
Top achievements
Rank 1
Xoma asked on 15 Jun 2010, 03:42 PM
Hi guys,

I have found this article http://www.telerik.com/help/silverlight/gridview-how-to-create-external-filtering.html
which explains how to do nice external custom search on all the columns of the grid.

In that example it is convenient that all of the columns are strings which makes the problem a little bit easier.

In my code most of the columns are strings but I also have some that are DateTime, enums (status fields), and integers.

I know how to exclude these columns from participating in the search but that is not acceptable solution. I need to be able to search all the columns regardless of the input.

Is there a way to set all of the columns to be of type:String for filtering function (but for sorting they need to be of the correct type DateTime, int, etc)?
Any suggestion on how to solve my problem are helpful.


Thanks,







1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 15 Jun 2010, 04:13 PM
Hello Xoma,

You might find this blog post and the project provided in it helpful:
http://blogs.telerik.com/stefandobrev/posts/10-01-18/highlighting_inline_search_for_radgridview_for_silverlight.aspx

All the best,
Veskoni
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.
Tags
GridView
Asked by
Xoma
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or