google / google-visualization-issues

288 stars 35 forks source link

Bug: CssClass not being set Properly #1236

Open orwant opened 9 years ago

orwant commented 9 years ago
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.

1.Set classes for all the Rows: headerRow: 'fancy_table', tableRow: 'fancy_table',
selectedTableRow: 'fancy_table_select', hoverTableRow: 'fancy_table_hover', oddTableRow:
'fancy_table_odd'

2.Select a row 
3.Sort a colum 
4.Select another row
5.The class will not be set on the first selected row

http://tankjuicegaming.com/members/

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?

DataTable

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)

No

What operating system and browser are you using?

W7 IE9 and Firfox 21.0

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by nodaclan on 2013-06-16 05:24:34

orwant commented 9 years ago
I am also seeing this issue, Win 7 Ultimate and Chrome 34.

Specifically, if I select an odd table row and then click a column header to resort,
and the selected row remains an odd row, if I deselect it, it has been given the normal
tableRow CSS class instead of the oddTableRow CSS class.  In other words, after a sort,
the selected row is always set to .tableRow instead of being set to .oddTableRow when
that is appropriate.

Original issue reported on code.google.com by Russ.Robbins on 2014-05-19 18:35:10