Hi,
I want to set an initial filter to my grid like in the sample (where initial filter is: ProductName contains Chef):
https://www.telerik.com/kendo-react-ui/components/grid/filtering/#toc-custom-filter-operators
But I want to use columnMenu fitlers, like the example:
https://www.telerik.com/kendo-react-ui/components/grid/filtering/#toc-column-menu-filter
So, I downloaded the example from the second link and changed initialState as follows:
let initialState = createDataState({
take: 8,
skip: 0,
filter: {
logic: "and",
filters: [{
field: "ProductID",
operator: "neq",
value: 4
}]
}
});
It works fine, the grid starts filtering out the product with ID 4, but if I open the filter it is empty:
How can I right initialize the columnMenu filter??
Thank you