Apply Column Filter based on html attribute on th

Apply Column Filter based on html attribute on th

andrefruaandrefrua Posts: 3Questions: 2Answers: 0

Hello everyone,

I've been using datatables plugin and I must say that it is a really nice help when using tables on my project.

Now my situation is as follows.
My tables are created dynamically. By this I mean that the order of the columns is not always the same.
For example for the customers table I can have:
Customer number | Name | Address | Status | ...
But I could also have:
Status | Customer Number | Address | Name | ...

And I need to apply a filter according to the column, for example I want to have a dropdownbox for the Status column, but want to have a normal textbox for the other column.

I've searched for some case similar to what I need but without luck.

Thanks in advance for you help.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.