niiknow / vue-datatables-net

Vue jQuery DataTables.net wrapper component
https://niiknow.github.io/vue-datatables-net/
MIT License
171 stars 58 forks source link

Table footer not rendered #59

Closed dct24 closed 3 years ago

dct24 commented 3 years ago

Hi,

I've noticed that there is no <tfoot> rendered in the table. Even after setting these options: hideFooter: false, hideTfoot: false,

and I can't put column search fields in footer using this example: https://datatables.net/examples/api/multi_filter.html

I've also noticed in the template file that there is a columnSearch option but it does nothing - nothing changes after setting it to true.

/**

  • true to hide the individual column search of the table
  • @type Boolean */ columnSearch: { type: Boolean, default: false },

How to implement individual column search with input fields in the footer?

dct24 commented 3 years ago

Ok,

I've figured it out. The columnSearch option works if its configured in the <vdtnet-table> component not in Vue data().