colspan crash dt

colspan crash dt

mbunalmbunal Posts: 4Questions: 3Answers: 0

https://live.datatables.net/nesonuzi/1/edit

there are 2 colspans and dt crash. without colspans it will work as expected.

how can I solve this?

Answers

  • rf1234rf1234 Posts: 3,021Questions: 88Answers: 421

    This is really weird :-)

    colspan works if you have a two line heading. And that's how I have been using it.

    Here is an example with colspan in both lines of the two line heading. Works. If you delete the top colspan line the error comes back.

    https://live.datatables.net/hasoyika/1/edit

  • allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin

    Thanks for letting me know about that! The error was in how DataTables was checking to see if it should insert any extra columns. It wasn't taking into account the colspan attribute. I've corrected that now and the next release will have the fix. It will be in the nightly build shortly.

    Allan

Sign In or Register to comment.