[ 6 posts ]

Michael Chiocca

YUI Contributor

  • Username: mch10cca
  • Joined: Thu Aug 11, 2011 1:35 pm
  • Posts: 8
  • GitHub: mchiocca
  • Gists: mchiocca
  • Offline
  • Profile
Tags:

YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Tue Aug 30, 2011 7:33 am
+0-
Hello. I've noticed that the DataTable doesn't seem to work completely with IE7 and IE8. For example, in IE7, all of the rows are white. With FireFox and other browsers (Chrome, Safari) the DataTable normally displays the odd rows using a very light blue color offset so that the rows appear to alternate colors slightly. This is corrected in IE8 it seems.

I implemented a DataTable plugin that adds row highlighting and single/multiple row selection functionality, but it doesn't seem to work with IE7 or IE8. The plugin uses the Node.addClass and Node.removeClass methods to add/remove classes to DataTable rows to change the color of the rows when you hover over them (i.e. highlight) and when you select a row (i.e. click). But the plugin doesn't work at all with IE7 or IE8.

Finally, with IE9 all seems to be well as none of these issues seem to exist. The rows alternate color and my row highlight and selection plugin works just fine. So my question to the YUI team and the YUI community is this: Has anyone else experienced problems using the YUI 3 DataTable widget with earlier versions of IE (7 and 8)? Thanks very much. Michael.

Todd Smith

YUI Contributor

  • Username: stlsmiths
  • Joined: Thu Nov 05, 2009 10:03 am
  • Posts: 675
  • GitHub: stlsmiths
  • Gists: stlsmiths
  • IRC: t_smith
  • Offline
  • Profile

Re: YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Tue Aug 30, 2011 10:39 am
+0-
Michael, I checked some of the posted YUI3 DataTable examples on IE7 and agree.

To be specific, I tried all of the of the published YUI3 Examples (from http://yuilibrary.com/yui/docs/datatable/#using) and none of the standard initial striping worked on IE 7 (specifically 7.0.5730.13 on XP SP 2). When a column was sorted, it looks like it did stripe properly.

Suggest you review the tickets and/or file a new one if this isn't there ...

Todd

Michael Chiocca

YUI Contributor

  • Username: mch10cca
  • Joined: Thu Aug 11, 2011 1:35 pm
  • Posts: 8
  • GitHub: mchiocca
  • Gists: mchiocca
  • Offline
  • Profile

Re: YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Tue Aug 30, 2011 2:26 pm
+0-
Hello. Yes, I noticed that when you sort a column in IE7, the column that you sort is striped, but the rest of the table is not. All of the other columns remain white. Thanks for testing IE and confirming my findings. We're trying to identify browser differences. It looks like IE7 (and IE8) have trouble with the DataTable and my plugin. IE9 and all of the other browsers seem to work just fine.

Todd Smith

YUI Contributor

  • Username: stlsmiths
  • Joined: Thu Nov 05, 2009 10:03 am
  • Posts: 675
  • GitHub: stlsmiths
  • Gists: stlsmiths
  • IRC: t_smith
  • Offline
  • Profile

Re: YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Tue Aug 30, 2011 5:53 pm
+0-
Michael, You didn't mention if you had filed a ticket on this, so I went ahead and set one.

Then ... on final testing on my IE8 system and, DOH! I think it may be working on mine. Apparently the alternating row color is very weak / subtle. I adjusted the monitor settings (not my usual everyday system) and the striping did show up.

Are you "certain" that this doesn't work on your system? Specifically I would recommend any of the User Guide samples, maybe you could check your computer monitor display settings also as a double-check.

Todd

P.S. - I may have to cancel this ticket http://yuilibrary.com/projects/yui3/ticket/2531023 depending on what you come up with.

Michael Chiocca

YUI Contributor

  • Username: mch10cca
  • Joined: Thu Aug 11, 2011 1:35 pm
  • Posts: 8
  • GitHub: mchiocca
  • Gists: mchiocca
  • Offline
  • Profile

Re: YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Thu Sep 01, 2011 8:10 am
+0-
Hi Todd. The problem is with IE7. The striping works with IE8 and IE9. With IE7, all rows are white so there is no striping. When you use the DataTableSort plugin with IE7 and select a column to sort, that column gets striped, but the remaining rows/columns remain white. The ticket you filed is a valid one. I added a comment stating basically what I've said here. Thanks for filing the ticket and your attention to this issue. Michael.

Luke Smith

YUI Contributor

  • Username: lsmith
  • Joined: Thu Aug 28, 2008 7:50 am
  • Posts: 511
  • Location: Sunnyvale
  • Twitter: ls_n
  • GitHub: lsmith
  • Gists: lsmith
  • IRC: ls_n
  • YUI Developer
  • Offline
  • Profile

Re: YUI 3 DataTable doesn't work completely with IE 7/8

Post Posted: Tue Sep 06, 2011 12:08 pm
+0-
For those of you not following the ticket, I checked in a fix.

https://github.com/yui/yui3/commit/6228 ... 89bb81248f
  [ 6 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