Hi All,
By default, I want to show tab filter by condition instead of filter by value. How can this be achieved in OutSystems grid?
Thanks,
Sathish R
Hello @Sathish Kumar
To achieve that you should be able to add to the Initialize event of the Grid block a JS node with the following code:
let myGrid = OutSystems.GridAPI.GridManager.GetGridById($parameters.GridWidgetId); let filter = myGrid.features.filter; filter._filter.filterChanging.addHandler(function (s, e) { s.activeEditor._showFilter(1); });
Hope it helps.
Cheers,GM