vue3-datatable
vue3-datatable copied to clipboard
Column filters apply even if column filters is disabled
Hi,
When I activate columnFilter, I can filter colmun individually. But when I deactivate columnFilter then filters applies without any chance to see or access filters value.
Is it possible to change custom-table.vue (around line 403) to add a check if column filters should apply or not.
Before :
if (!props.isServerMode) {
props.columns?.forEach((d) => {
...
});
if (currentSearch.value && rows?.length) {
...
After :
if (!props.isServerMode) {
if (props.columnFilter) {
props.columns?.forEach((d) => {
...
});
}
if (currentSearch.value && rows?.length) {
...