[ 3 posts ]

Jim Simpson

  • Username: jamrsim
  • Joined: Tue Nov 03, 2009 8:14 am
  • Posts: 33
  • Offline
  • Profile

Allow Cell Contents to 'Bleed' from One Column to Next

Post Posted: Fri Jul 29, 2011 6:08 am
+0-
Hi DataTable Experts!

I've done a quick search looking for 'cell bleed' and 'colspan' and couldn't really find what I needed.

Using http://developer.yahoo.com/yui/examples/datatable/dt_basic.html as the base, simply add a new column to the end of the table. Next, resize the title column so that the width of the column is smaller than the width of the contents of the column.

What I'm trying to do: If there is no data in the column to the right of the title column and the contents of the title column are wider than the column itself, I would like the display of the title column to continue into the next column if adjacent cell column is empty.

Is there a CSS trick or something to allow this with YUI2 tables?

Thanks!

Jim

Jim Simpson

  • Username: jamrsim
  • Joined: Tue Nov 03, 2009 8:14 am
  • Posts: 33
  • Offline
  • Profile
Tags:

Re: Allow Cell Contents to 'Bleed' from One Column to Next

Post Posted: Fri Jul 29, 2011 7:18 am
+0-
It seems that 'overflow: hidden' might be the source of my problem. When I resize the column, it seems this CSS gets reset from visible. More clues I guess.

Appreciate any feedback.

Thanks!

Jim Simpson

  • Username: jamrsim
  • Joined: Tue Nov 03, 2009 8:14 am
  • Posts: 33
  • Offline
  • Profile

Re: Allow Cell Contents to 'Bleed' from One Column to Next

Post Posted: Fri Jul 29, 2011 7:28 am
+0-
An 'inline style' of 'overflow: hidden;' appears to be added from somewhere/thing when you adjust the column width via drag and drop.
  [ 3 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