Try first setting the table row class to some custom CSS class using cssClassNames option. Afterwards, use your hack to color different cells.
HTH ChartMan On Tue, Jan 31, 2012 at 11:01 PM, Dan Vig <[email protected]> wrote: > tried it and doesnt work > > > On Mon, Jan 30, 2012 at 11:55 AM, asgallant <[email protected]>wrote: > >> You might try wrapping your code for removing the even/odd class names >> from the table rows in a hover event listener: >> >> $('.google-visualization-table-td-number').hover(function () { >> $('.google-visualization-table-td-number').each(function() { >> $(this).html()%2==0 ? $(this).parent().css('background-color','red >> ! important') : $(this).parent().css('background-color','blue ! >> important'); >> }); >> }); >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-visualization-api/-/NQowN16vVYIJ. >> >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
