Trouble using fixedColumn if contain colspan/rowspan

Trouble using fixedColumn if contain colspan/rowspan

MaximeCMaximeC Posts: 2Questions: 1Answers: 0

Link to test case: https://live.datatables.net/huyonesa/1/

Description of problem: Hello, I have an issue with DataTables since v2. I want to fix two columns at the beginning of the table, but these columns can have a colspan of 2 or a rowspan greater than 1.
For row with colspan, 3rd col is stick and 'left' value is equal to col 1 width
For row with rowspan=2, first row is OK, but on second row col 2 and 3 are stick, first is ignored.

An example would be more illustrative : https://live.datatables.net/huyonesa/1/

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    You can't have a colspan or rowspan in the tbody of a DataTable. I'm sorry to say that it isn't supported at all. It will work in the thead, but not at all in the tbody.

    Allan

  • MaximeCMaximeC Posts: 2Questions: 1Answers: 0

    Thanks for reply.

Sign In or Register to comment.