| Page 1 of 1 | [ 6 posts ] |
|
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. |
|
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 |
|
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.
|
|
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. |
|
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.
|
|
For those of you not following the ticket, I checked in a fix.
https://github.com/yui/yui3/commit/6228 ... 89bb81248f |
| Page 1 of 1 | [ 6 posts ] |
| 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 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group