Is there a way to hide button of filter settings(Save, Save as, Edit, etc…)? I have unselected “settingsEnabled” and it is still visible and usable.
Thanks in advance.
Is there a way to hide button of filter settings(Save, Save as, Edit, etc…)? I have unselected “settingsEnabled” and it is still visible and usable.
Thanks in advance.
Hey @victor.sanchez,
In Filters we use settingsEnabled to Define if user settings of the component should be saved/restored.
To hide the settings button you can use the styles
.v-slot.v-slot-filter-settings-button {
display: none !important;
}
Thanks,
Sushma
If you simply want to deny creating/editing of filters you can set editable
of Filter to false
:
<filter id="filter"
applyTo="clientsTable"
datasource="clientsDs"
editable="false">
<properties include=".*"/>
</filter>
But if I do that then I can not add a condition to search.
I want to avoid the possibility of save/edit filter, because in wrong hands it could be a bad idea.