HI Team,
My requirement is, I am getting data two columns from database in that one is value another is color So i want show the value according to color by compare two column.
I find peace of code to add CSS color to row data in PIVOT table.
columns[i].cssFormat = function(value){
var css = "";
if(value > 0)
css = { "color":"red" };
else if(value >0 )
css = { "color":"green" };
return css;
};
Here , I am able to get colors to value But i want validate color as per what i get from another column. Please let us know how to add color to that value.
And please let me know how to find maximum row number in pivot as per selection row fields.
Please do need full.
Thank you.