Remove Column Filters on grid

When the remove icon is clicked, the corresponding filter value should be removed from the column filter on the grid.

As GridMetaDeta_RandomNo is a dynamic page, unable to remove pyIsSearchEnabled and pySearchText in GridMetaData Page.

image

Suggest any approach to remove the specific column filter value on the grid.

To remove a specific column filter value on a dynamic grid, you should use a Data Transform or an Activity to explicitly clear the target properties. Since the grid metadata is dynamic, identify the specific index of the column being cleared within the GridMetaData.pyColumnProperties list. Within that index, set the values of pyIsSearchEnabled to false and pySearchText to an empty string. Once these properties are cleared, execute a Refresh-List or a Refresh-Section on the grid to synchronize the UI with the updated clipboard state. This approach ensures that the specific filter is purged while maintaining the integrity of the rest of the dynamic page metadata.