I have another small suggestion, to allow skipping of the row alternation. Simply to add a check for "none" on the line #143:
if (options.altColor!='none') {
jQuery(this).find('tr:odd').css('background', options.bgColor);
jQuery(this).find('tr:even').css('background', options.altColor);
}
Also, in fact, would be good to change the alternation method from applying the css color attribute to applying the class, similar to how hiliteClass has been introduced. Using classes instead of css color attributes are essential, because only then we can arrange the prioritizing of overlapped backgrounds via CSS cascading. I mean, if I have my own class applied to a particular column, that changes its background, I want to arrange that alternate background is different from a "normal" alternate. With styles, it's possible (.altClass .myOwnClass { ... }), with CSS color attribute - no.
Disable alternate rows
I have another small suggestion, to allow skipping of the row alternation. Simply to add a check for "none" on the line #143:
if (options.altColor!='none') {
jQuery(this).find('tr:odd').css('background', options.bgColor);
jQuery(this).find('tr:even').css('background', options.altColor);
}
Also, in fact, would be good to change the alternation method from applying the css color attribute to applying the class, similar to how hiliteClass has been introduced. Using classes instead of css color attributes are essential, because only then we can arrange the prioritizing of overlapped backgrounds via CSS cascading. I mean, if I have my own class applied to a particular column, that changes its background, I want to arrange that alternate background is different from a "normal" alternate. With styles, it's possible (.altClass .myOwnClass { ... }), with CSS color attribute - no.
-=snobo=-