Adding additional filtering row header
Adding additional filtering row header
I have tried using this example here: https://datatables.net/extensions/fixedheader/examples/options/columnFiltering on my DataTable.
My DataTable: http://live.datatables.net/lidequra/21/
I can't get it to work though because:
- If I add the code ABOVE my DataTable initialisation (as per the example) Nothing is initialised and the row is never created.
- If I add it below the initialisation, the row is created BUT it has sort by carets in every column EVEN THOUGH I have added orderCellsTop: true and fixedHeader: true to my DataTable initialisation
I am assuming that it has to do with the row being added after (and therefore orderCellsTop is already set when the row is cloned (cloning the orderCellsTop setting) which is obviously why the example code shows the row.clone() code above the DataTable intiailisation
So, why does that example not work in my DataTable? What is my table doing differently that it wont create the row?
I really want those to be select drop downs but I can't even get it working with inputs yet...
Answers
Hi @sjw01 ,
This sounds a lot like your discussion on this thread. Is there a difference between these two topics?
Cheers,
Colin
I suppose it is an extenstion of that thread but not the same - first thread lead me to a potential solution - now I am trying to implement