Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<ej-grid id="FlatGrid" allow-paging="true" datasource="ViewBag.dataSource" allow-filtering="true">
<e-filter-settings filter-type="Excel" />
<e-columns>
…………………………………………………………….
</e-columns>
</ej-grid>
<script type="text/javascript">
function onClick() { // external button click event
var Obj = $("#FlatGrid").ejGrid("instance");
Obj.model.filterSettings.filteredColumns.push({ field: "ShipCity", operator: "startswith", value: "Be", predicate: "or", matchCase: true });
Obj.model.filterSettings.filteredColumns.push({ field: "ShipCity", operator: "startswith", value: "Ts", predicate: "or", matchCase: true });
Obj.refreshContent();
}
</script> |