Greetings,
I'm using version 8. I've got a treeGrid where I'm doing some custom styling. I also have a print preview of this treegrid, but I don't want the custom styling to show on the printpreview (or the printing). How can I change (remove) the styling for print preview?
I'm using version 8. I've got a treeGrid where I'm doing some custom styling. I also have a print preview of this treegrid, but I don't want the custom styling to show on the printpreview (or the printing). How can I change (remove) the styling for print preview?
Code:
getCellCSSText: function (record, rowNum, colNum) {
if (colNum == 1){
return "color:#061727; text-decoration:underline; cursor:pointer; cursor:hand;";
}else if (colNum == 1){
if (record.group_code > 0) {
return "color:#061727; text-decoration:underline; cursor:pointer; cursor:hand;";
}
}
},
Comment