Best way to add buttons in columns headers ?
Best way to add buttons in columns headers ?
Hi,
I'm trying to add a filter button next to the arrows which display sorting (I'm using jQueryUI mode)
Currently, I'm doing it using the fnHeaderCallback: I add a div behind the DataTables_sort_icon span. I chose a div because adding a span mess up with the sort icon spans that datatables manage.
However, I have problems with the layout, and I'm wondering if the approach I chose is right.
Any suggestions, samples ?
Thanks,
I'm trying to add a filter button next to the arrows which display sorting (I'm using jQueryUI mode)
Currently, I'm doing it using the fnHeaderCallback: I add a div behind the DataTables_sort_icon span. I chose a div because adding a span mess up with the sort icon spans that datatables manage.
However, I have problems with the layout, and I'm wondering if the approach I chose is right.
Any suggestions, samples ?
Thanks,
This discussion has been closed.