#grid1.k-grid-content td { color:red } #grid2.k-grid-content td { color:red } #grid4.k-grid-content td { color:red } #grid5.k-grid-content td { color:red }
.GridColor { color:red } $(function () { $("#grid1.k-grid-content td").addClass("GridColor"); $("#grid2.k-grid-content td").addClass("GridColor"); $("#grid4.k-grid-content td").addClass("GridColor"); $("#grid5.k-grid-content td").addClass("GridColor"); }
//This can remove the redundancy $.makeArray( $("#grid1.k-grid-content td"), $("#grid2.k-grid-content td"),$("#grid4.k-grid-content td"),$("#grid5.k-grid-content td")).addClass("GridColor");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)