Button right next to the main search field
Button right next to the main search field
Hi,
How could i insert a button to the right of the main search field? I need a search clear button, but not for the main searchfield only(i know theres one already) - also for the individual column ones.
I know how to do the clearing, but not how to insert at button in the datatables part of the dom.
Thanks in advance :)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Ok, i can do this in the datatables initComplete:
Seems a little hackish though, so if you have a better solution let me know. :)
Currently the other option is to write a feature plug-in.
It isn't an ideal situation I realise and the next major version of DataTables should address this.
Allan