By default, the grid searches for the key value only in the columns defined in the Grid column definition. In some cases, we may like to search whole dataSource for the search Key. Solution: We can achieve the above requirement by adding all the field names to the searchSettings.fields property of the Grid. Example: In the following example, we have rendered a grid with searching enabled.
JS:
MVC
ASP
JS Playground link: http://jsplayground.syncfusion.com/amdr43qc Result: Fig 1: Initial Rendering
Fig 2: On Searching operation
|
This page will automatically be redirected to the sign-in page in 10 seconds.