Hi Jonas Czeslik ,
Greetings from Syncfusion support,
Query 1: “since the filtering options can only filter by one string. (Correct me, if I am wrong)”,
You can filter multiple values for a column dynamically using the “filterByColumn()” method as demonstrated in the below code snippet,
|
grid.filterByColumn("CustomerName", "contains", ["Paul", "Karin", "Mario"]); |
Using this method you can filter the required values in the Grid column.
Query 2: “ I do not know, how to filter those rows, which are not on the current view / page of the grid because all the methods to get rows of the grid seem to only refer to the current page. Is there a solution for this problem?”
You can get only current view records by using “getCurrentViewRecords()” method of Grid. But the Grid filtering allows you to filter the entire dataSource of Grid by using “filterByColumn()” method of Grid.
If we misunderstood your requirement, or this is not your exact requirement please get back to us with the following details for further assistance.
- Share your complete code example.
- Explain your complete requirement.
Let us know if you have any concerns.
Regards,
Praveenkumar G