Hello,
I have a SAPUI5 app with a Smart Filterbar and a Smart Table similar to this example app
I want to avoid that user can filter the data with the Smart Filterbar and the Smart Table, because this could lead to confusions of the user.
I removed therefore the filter button from the Custom Toolbar. But now it is still possible to filter the table by click on the column header.

How can I deactivate this or alternative how can I sync the filter of the Smart Table with the Smart Filterbar?
Best regards
Frank
Request clarification before answering.
You can set "filterable" as false for that particular property in the entity in segw. then it will not appear for filtering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to filter the table with the Smart Filterbar. If I set the column to not filterable, then I can also not filter the column with the Smart Filterbar.
I only want one filter possibilty (Smart Filterbar) instead of two (Smart Table and Smart Filterbar) or a sync between the controls. Else the users will get counfused.
frankmueller9, Okay, I got it now, you can pass this property to the smart table.
app:p13nDialogSettings="{filter:{visible:false}}"
Hi Mahesh,
thank you very much for your reply.
It works.
You have to define the namespace app
xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
in the <mvc:View> tag and then you have to set the property
app:p13nDialogSettings="{filter:{visible:false}}"
in the <smartTable:SmartTable> tag to deactivate the filter.
Best regards
Frank
Thanks for the update, frankmueller9 . Yeah true, you need to mention that namespace 🙂
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.