columnDefs option to add a css class with two rows in , use of orderCellsTop

columnDefs option to add a css class with two rows in , use of orderCellsTop

aureltimeaureltime Posts: 1Questions: 0Answers: 0

Link to test case: https://jsfiddle.net/aureltime/5zh7u4rs/16/
Description of problem: I have a datatables with two rows in the <thead> : one for column title, one for specific filters. I use option orderCellsTop : true.

the css class in only added on the top rows, i would expect it on the 2 rows, but i feel maybe somebody else would expect it on the header row. Maybe a new option would be necessary for that.

Thanks !

Replies

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    Datatables only controls one header row. Applying CSS, search inputs, etc to additional header rows is up to you.

    Kevin

This discussion has been closed.