Is it possible to remote the decimal palces from the total with using totalColumn
thanks
Is it possible to remote the decimal palces from the total with using totalColumn
thanks
Hi,
totalColumn takes the same format as other columns. So, it is possible to change the format of all columns. Use “onHeaderInit” for this:
...
view:"pivot",
totalColumn: "sumOnly",
on:{
onHeaderInit: function(header){
for(i=0; i < header.length; i++){
header[i].format = function(value){
return parseInt(value,10);
}
}
}
},
...