Hi, I want to use your grid control but i have a question.
I have a very large lead table and i want a facility in your grid to create several column filters on grid and save then in database. So next time when i come i need not to do the filter selection i can just select a pre saved filter and it should be applied on grid.
here is your example link on which i want to do this
TSThavasianand Sankaranarayanan Syncfusion Team March 13, 2019 04:51 AM
Greetings from Syncfusion.
We have analyzed your requirement. We suggest you to use the “actionBegin” event and “filterByColumn” method of Grid. In the “actionBegin” event handler we will be getting the “currentFilterObject” with “requestType” as “filtering” each time you perform filtering in Grid. You can push this “currentFilterObject” into an array of object variable or save this to a database. Then you can perform filter with this pre-saved values by using the “filterByColumn” method.
To demonstrate the above provided logic, we have prepared a sample. In the below sample, we will be saving the “currentFilterObject” in the “actionBegin” handler to an object variable(ddldata), which will be assigned to a “DropDownList” component. So now each time you perform filtering in Grid, the drop down list will be populated with the “currentFilterObject”. Now the drop down list will be containing the pre-saved filter values. In the change event of dropdown list we will be calling the “filterByColumn” method with arguments provided based on the value selected from the drop down. Please refer the sample link below,