on Datatables 2.0.0 casusing unexpected column width changes

on Datatables 2.0.0 casusing unexpected column width changes

krutovdlkrutovdl Posts: 45Questions: 9Answers: 1

As one of our website was updated from Datatables version 1.13.16 to 2.0.0 with no code changes, intermittently the column width sizes changed from as intended to something smaller. The datatable always loads with the expected widths but after about one second, the styles change to something else. The following attributes and elements are generated while removing the classes provided during the jQuery configuration. Below is an example of the undesired <colgroup>. What is the best course of action?

Replies

  • kthorngrenkthorngren Posts: 21,261Questions: 26Answers: 4,934
    edited February 26

    I think the colgroup issue will be resolved in the next release 2.0.1. See the last few responses in this thread.

    Kevin

  • carrarachristophecarrarachristophe Posts: 106Questions: 25Answers: 2

    Hi Kevin,
    Was that fixed? I am using DataTables-2.0.2 and have this issue on some pages only, but cannot identify the rational behind.

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    There was an error whereby on destroy() the colgroup wouldn't be removed. That has been resolved and if you are using 2.0.2, it shouldn't be an issue.

    If it is a problem for you, please link to a test case so I can take a look.

    Allan

  • carrarachristophecarrarachristophe Posts: 106Questions: 25Answers: 2

    Thanks Allan,
    I will keep digging and eventually post a case.

Sign In or Register to comment.