Created
August 20, 2014 12:06
-
-
Save Deathspike/51475196ad129d4835dd to your computer and use it in GitHub Desktop.
ASP.NET Grid.Mvc default filter to 'Contains' via JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| TextFilterWidget.prototype.renderWidget = (function(fn) { | |
| return function() { | |
| this.value.filterType = '2'; | |
| fn.call(this); | |
| }; | |
| })(TextFilterWidget.prototype.renderWidget); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Topper!