I add an extra property to my columns array and I use it to conditionally hide sorting but I need a way to hide filtering as well:
Code: Select all
<Column v-for="col of columns" :sortable="col.sortable" ... ></Column>
<template v-if="column.sortable" #header>
...
</template>
The code above does not seem to work. It only adds whatever I put inside to the content that is already there.