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

Form based Filtering

2 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark Breen
Top achievements
Rank 1
Mark Breen asked on 22 Mar 2010, 08:49 PM
Hello All,

Using telerik radGrid 2009.3.1103.35

I have a form with 4 columns displayed and filters work well there.  However, on my main form, I have about 40 other columns, and I would like to be able to search by some of those, perhaps ten or twelve in total.

but if I display all twelve columns, my form is too wide for the screen, so I guess that I need a custom search screen?

Is there any way to do using the grid?

thanks

Mark

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 Mar 2010, 09:28 AM
Hello Mark,

Basically, to handle this functionality, you can take a custom approach.
You can toggle off the display of the unwanted column(s). In this manner, the data would still be available, but simply not visible to the user, allowing you to apply custom filtering criteria. To do so, you have two options:
  1. Trigger the filtering from the client, by using the .filter command of the mastertable. This is demonstrated in the following example:
    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx
  2. Alternatively, if you have a wider fitlering range (more than one column), you can choose to set the filter expression of the grid directly. This can be done by constructung the filter expression manually. More information on this option is available in the following article:
    http://www.telerik.com/help/aspnet-ajax/grdoperatewithfilterexpression.html

I hope this information gets you started properly.

Sincerely yours,

Yavor
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
Mark Breen
Top achievements
Rank 1
answered on 28 Mar 2010, 11:47 AM
Hello Yavor,

I did not realise that I could use drop down combo's in the filters, that is great news for me.

thanks I will try that and I think it will work fine for me.

Mark
Tags
Grid
Asked by
Mark Breen
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Mark Breen
Top achievements
Rank 1
Share this question
or