I am afraid you can't. The plugin is designed to colorize table rows or columns on click. However, you don't need the plugin to colorize individual cells on hover state. You can easily accomplish it using the following code:
var cells=$("#myTable").find('td'); $.each(cells, function(index, cell){ cell.onmouseover = function(){ this.style.backgroundColor = "yellow"; } cell.onmouseout = function(){ this.style.backgroundColor = "white"; } });
More information about formatting options
I am afraid you can't. The
I am afraid you can't. The plugin is designed to colorize table rows or columns on click.
However, you don't need the plugin to colorize individual cells on hover state.
You can easily accomplish it using the following code:
var cells=$("#myTable").find('td');
$.each(cells, function(index, cell){
cell.onmouseover = function(){
this.style.backgroundColor = "yellow";
}
cell.onmouseout = function(){
this.style.backgroundColor = "white";
}
});