Rendering problem? - Page 2

Rendering problem?

2»

Answers

  • MyNicknameMyNickname Posts: 31Questions: 6Answers: 0

    unfortunately columns.width didnt solve the issue

  • kthorngrenkthorngren Posts: 20,309Questions: 26Answers: 4,770

    I don't have IE but tried on a Mac with Safari, Firefox and Chrome. Didn't see the issue. Datatables is not always able to correctly calculate the column and table width when it is initialized on a hidden table. The recommended action for displaying a hidden Datatable is to use columns.adjust() when the Datatable is made visible. I'm not sure where to put this in your code. Try it and let us know the results.

    Kevin

  • MyNicknameMyNickname Posts: 31Questions: 6Answers: 0

    hi kthorngren - tnx for your reply

    it looks more ugly with columns.adjust :(

    i also dont understand why nobody ( ? ) can reproduce it - i can do it at home, office, with friends ...

    link to test-page, see message August 31
    detailed steps, see message September 5
    robert

  • MyNicknameMyNickname Posts: 31Questions: 6Answers: 0
    edited November 2018

    before (ok)
    <th class="sorting_disabled" rowspan="1" colspan="1" style="width: 34px;">ID</th>

    after (not ok)
    <th class="sorting_disabled" rowspan="1" colspan="1" style="width: 0px;">ID</th>

    all columns are after F5 reset to "width: 0px"

    that seems to be the problem (at least for one table) but i am not sure why it is automatically reset to 0

This discussion has been closed.