Header width issue with chrome browzer

Header width issue with chrome browzer

SrilakshmiSrilakshmi Posts: 35Questions: 6Answers: 0

Hi, The table header is mis-aligned for chrome browzer, and when I click on the header element ,the width gets adjusted properly,cant figure out the issue, I tried many things like setTimeout( function () { oTable.fnAdjustColumnSizing(); }, 10 ), but it is not working, I went through the discussions and tried the solutions for the same but it did not work, everything seems to work fine if sScrollY is commented , but sScrollY is needed for the page I am developing, Screen shots :- 1)Before clicking the header element ->http://snag.gy/g0tFK.jpg 2)After clicking the header elemnet ->http://snag.gy/RAGZO.jpg Looking forward for a reply, Srilakshmi

Answers

  • allanallan Posts: 55,882Questions: 1Answers: 8,835 Site admin

    Is the table hidden (i.e. in a display:none element such as a tab) when it is initialised? That will cause this issue, and the adjust function should be called when it is made visible.

    Allan

  • SrilakshmiSrilakshmi Posts: 35Questions: 6Answers: 0

    Hi Allan,
    I dont use tabs here, but still the problem persists..., unable to figure out what is going wrong...,

    Looking forward for a reply,
    Srilakshmi

  • allanallan Posts: 55,882Questions: 1Answers: 8,835 Site admin

    I would need a link to the page to be able to offer any help I think.

    Allan

  • SrilakshmiSrilakshmi Posts: 35Questions: 6Answers: 0

    Hi Allan,
    Initiallly the table does not take the window width, as shown in the image below,
    http://snag.gy/ABTdz.jpg
    it takes 1334px instead of 1366px,
    tried several ways, but could not fix it.
    looking forward for a reply,
    Srilakshmi

  • allanallan Posts: 55,882Questions: 1Answers: 8,835 Site admin

    Thanks for the screenshot, but I would need a link to be able to offer any help as it would need to be debugged.

    Allan

This discussion has been closed.