Hi team,
I've read quite a lot of documentation of GridView, however could not find a tutorial showing how to create a custom filter control outside of GridView, for example, a select control corresponding some specific column. And the select control is under the GridView. It's not part of the GridView. It's an independent control.
How to do that?
Thanks,
-Jingfei
I've read quite a lot of documentation of GridView, however could not find a tutorial showing how to create a custom filter control outside of GridView, for example, a select control corresponding some specific column. And the select control is under the GridView. It's not part of the GridView. It's an independent control.
How to do that?
Thanks,
-Jingfei
7 Answers, 1 is accepted
0
Hello Jingfei,
You can check the Search As You Type WPF Demo as a reference on how to filter from a TextBox outside RadGridView.
Regards,
Dimitrina
Telerik
You can check the Search As You Type WPF Demo as a reference on how to filter from a TextBox outside RadGridView.
Regards,
Dimitrina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Jackey
Top achievements
Rank 1
answered on 16 Mar 2015, 02:47 PM
Hi Dimitrina,
Thanks for your reply. What if i want to pop up the filter control (the distinct values, the operators etc.) when clicking the outside control? Do I need to implement the filter control from the scratch? Or re-use the filter control?
Thanks,
Jingfei
Thanks for your reply. What if i want to pop up the filter control (the distinct values, the operators etc.) when clicking the outside control? Do I need to implement the filter control from the scratch? Or re-use the filter control?
Thanks,
Jingfei
0
Jackey
Top achievements
Rank 1
answered on 17 Mar 2015, 12:02 PM
Hi Dimitrina,
I've tried the demo, but it didn't work, could you please provide a runnable project? Thanks.
I've tried the demo, but it didn't work, could you please provide a runnable project? Thanks.
0
Accepted
Hi,
You can check the following forum thread, Can I use FilteringControl independently?, where a similar topic has been already discussed.
Regards,
Dimitrina
Telerik
You can check the following forum thread, Can I use FilteringControl independently?, where a similar topic has been already discussed.
Regards,
Dimitrina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
0
Jackey
Top achievements
Rank 1
answered on 19 Mar 2015, 06:28 AM
BTW, we know we can remove some field filter operators. And what if i want to remove all of the field filters, just distinct value list is left?
Thanks,
-Jingfei
Thanks,
-Jingfei
0
Jackey
Top achievements
Rank 1
answered on 19 Mar 2015, 06:32 AM
Sorry to be a dumb. I found it here
If you don’t need the field filter part of the filtering control you can hide it by using the ShowFieldFilters property of the column. This property only makes sense when the filtering mode is Popup. For boolean columns, this is false by default since it makes little sense to have field filters for boolean values.
Thanks a lot!
If you don’t need the field filter part of the filtering control you can hide it by using the ShowFieldFilters property of the column. This property only makes sense when the filtering mode is Popup. For boolean columns, this is false by default since it makes little sense to have field filters for boolean values.
Thanks a lot!