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

[Solved] How to change filter for telerik mvc grid

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonisan
Top achievements
Rank 1
Jonisan asked on 23 Feb 2012, 02:31 PM
Is there an option to remove the "AND" part of the filter ?
I only want him to display the "Show rows with value that " ...

2 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 24 Feb 2012, 09:03 AM
Hello Jonisan,

To remove the second part of the filter menu you can use the follow approach.
function onLoad() {
           $(this).find("th .t-grid-filter").click(function () {          
               setTimeout(function () {                  
                   $(".t-filter-help-text:contains('And')").nextUntil(".t-button").andSelf().remove();   
               }, 10);
           });
}


Regards,
Petur Subev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Jonisan
Top achievements
Rank 1
answered on 24 Feb 2012, 09:04 AM
Thank you
Tags
Grid
Asked by
Jonisan
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Jonisan
Top achievements
Rank 1
Share this question
or