Using the basic template if I select a row the row background turns blue.
Any black cell color turns white (which is good) but if a cell color is specifically set with setCell
jQuery(â€#a_todayâ€).setCell(rowid,’l_wins’,â€,{color:’red’});
then that color will not change to white. This color clashes with some cells when they are highlighted.
Is it possible to force all selectedrow cell colors to white?
onSelectRow: function(id){
if(id && id!==lastsel){
var myrowdata = jQuery(‘#a_today’).setCell(id,’name’,”,{color:’white’});
lastsel=id;
}
},
That sort of works in that it does change the cell color of name to white when the row is selected.
But if I then select another row it stays white (and thus is white on a white background – it doesn’t go back to the original cell color.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top