Hi @tbulavskaya,
There is no option to hide/disable end-user filtering as of now. This maybe something we could consider. This is the first request to hide the option. :)
You can however add custom CSS to hide the option.
ul.filter-items {
display: none;
}
Please note that this would hide the “Add Filter Rule” option across all tables in the application.
Hope this works!
Thanks,
Pratap
Hi Pratap,
Thank you, the CSS route is fine! Do you think there is way to hide this option only for a specific table or for a specific page?
I have tries with .tag-tableedata-widget\.uri="WidgetName"] in front, but that doesn't see to work.
Regards,
Tanya
Hi @tbulavskaya ,
Unfortunately this can’t be done for a specific table.
There is another trick for targeting a specific table, but the downside being you will lose all click events, eg: sorting, row/column resizing by dragging.
.tag-tabletdata-widget\.uri="Simple Data"] .titleheader-viewport .header-titles .cell.rowheader-title,
.tag-tabletdata-widget\.uri="Simple Data"] .titleheader-viewport .header-titles .cell.colheader-title,
.tag-tabletdata-widget\.uri="Simple Data"] .colheader-viewport tr:last-child .cell,
.tag-tabletdata-widget\.uri="Simple Data"] .rowheader-viewport tr .cell:last-child
{
pointer-events: none;
}
Please let me know if this works for you.
Thanks,
Pratap
Thanks Pratap, for this case this works! :)