columnMenu.clearAllFilters Boolean
(default: false)
If set to true
, the global column menu will render a button to allow the user to clear all filters applied to the grid.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "name" },
{ field: "age" }
],
toolbar: ["columns"],
columnMenu: {
componentType: "modern",
clearAllFilters: true
},
filterable: true,
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
]
});
</script>