Update filtering topic for React 19#1514
Conversation
mddragnev
left a comment
There was a problem hiding this comment.
There are couple of snippets where this keyword is used. We should show snippets with functional components code. Could you remove those?
Also, there is a typo here To enable the [Advanced filtering](http://localhost:3000/components/grids/grid/advanced-filtering.html) however, you need to set the [allowAdvancedFiltering](https://staging.infragistics.com/products/ignite-ui-react/api/docs/typescript/latest/classes/igniteui_react_grids.igrgridbasedirective.html#allowAdvancedFiltering) input property to true.7 at the end there is a number 7.
Also, could you refactor the Initial filtered state snippet so that it uses functional components style. Please, make sure that there is no type casting. It could look as clean as:
const filteringExpressionTree: IgrFilteringExpressionsTree = {
operator: FilteringLogic.And,
filteringOperands: [
{
fieldName: "ProductID",
conditionName: "equals",
ignoreCase: true,
searchVal: 1,
},
],
};
No description provided.