Best way to add buttons in columns headers ?

Best way to add buttons in columns headers ?

GoAGoA Posts: 4Questions: 0Answers: 0
edited December 2011 in General
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,
This discussion has been closed.