This is something that this grid has http://www.trirand.com/blog/jqgrid/jqgrid.html#
Thank you so much
7 Answers, 1 is accepted
Thank you for getting in touch with us.
In order to achieve that you should add search input inside the Grid's toolbar via template. When the value of this input changes you may filter the DataSource of the Grid using filter method of the DataSource.
Similar approach is demonstrated in this demo: http://demos.kendoui.com/web/grid/toolbar-template.html
the Telerik team
I found a way to do this.
First you create a toolbar with a input field on the Kendo grid like this:
I hope this info helps!
I know this is a old post. But i wanted to provide this for anyone coming back here. I needed something a little more generic, This takes all string fields in the grid and searchs against them. I put this function in a global js file and now anytime a grid is loaded on the screen it dynamically adds a search box and searches all string fields on the grid. Thanks @Tim for the initial code which I based my solution off of.
Please note that I use kendo mvc scaffolder and it names all grids "grid" by default and not "Grid" as shown in @Tim's code.
You may need to update the line: var grid = $("#grid").data("kendoGrid"); to match your grid name.
Since I use JS to inject the search box you do not need to make any changes to your .cshtml which is very nice and generic.
CSS Below if you want it:
Apologies for resurrecting this thread, but it's the first result for this question on Google and thought I'd share.
I combined the solutions by Thomas and Dhruv to be able to search like in Jquery datatables on all string fields.
Thank you very much for the provided solution.
If you are not using serverfiltering, you can filter the entire grid for numbers, dates, strings and booleans as shown in this how-to article rom our knowledge base:
In addition to that, I am pleased to let you know this has been a very popular feature request and we have created it as a toolbar feature. It is due to be released in R3 scheduled or 18th September 2019.
It is not very clear if you are using the built-in search panel or the knowledge base article that we have discussed:
If you are using the built-in search panel over two fields, can you use the API live example to show us the behaviour you are seeing? You can click on the Open In Dojo link and add the sample fields and data and send us the Dojo url:
Look forward to hearing back from you.
Our thoughts here at Progress are with those affected by the outbreak.