Header colspan in options
Header colspan in options
I just migrated my code to Vue and am using the DataTables component like this:
<CustomDataTable
v-if="tableData.length > 0"
:data="tableData"
:columns="tableColumns"
ref="dataTableRef"
/>
But i have not found a way to use a ComplexHeader with this method, is there a way?
My objective:

This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I assume you are using
columns.titleto create the header. This only supports a single header row. From thecolumns.titledocs:Kevin
If you were to use our Vue component you can pass a
theadin to theDataTablecomponent as the default slot, and it will use that as the table header.Allan