[ 2 posts ]

Ruzaik R

  • Username: kaizur
  • Joined: Sun May 31, 2009 8:46 pm
  • Posts: 1
  • Offline
  • Profile

The column header width and cell widths differ in IE

Post Posted: Sun May 31, 2009 9:21 pm
+0-
The project I'm currently working on uses the Yahoo User Interface Library. The YUI datatable was used to display records stored in a database. I tried switching it from the datatable to ScrollingDataTable in order to add a vertical scrolling feature. It worked out well in firefox but when I checked on IE6, the cell widths and the table column header widths were different. After doing some looking up I just tried adding:
Code:
YAHOO.widget.DataTable._bStylesheetFallback = !!YAHOO.env.ua.ie;

but the outcome was still the same.

Why does this happen? Is there a way to fix it?

P. S. -
    I'm a complete newbie to YUI. This is the first time I'm ever working with it so please excuse me if i ask something that may sound absurd or obvious
    I'm using Fedora Core 10 as my operating system along with Tomcat 6 (Just in case these are necessary :) )

Jenny Donnelly

YUI Developer

  • Username: jenny
  • Joined: Tue Dec 09, 2008 5:00 pm
  • Posts: 58
  • GitHub: jenny
  • Gists: jenny
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: The column header width and cell widths differ in IE

Post Posted: Wed Jun 03, 2009 3:39 pm
+0-
It's tough to say without seeing your code. If you are trying to switch from a DataTable to a ScrollingDataTable at runtime, that may be the cause of your problem. It is recommended that you call the ScrollingDataTable constructor directly.

If you still see a problem, please post a link to a reproducible case so we can troubleshoot the issue.

Cheers,
jenny
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum