I call isc.RPCManager.exportContent on the cube grid but i just get the middle part of the grid.
With SmartClient_83_PowerEdition + Analytic module + IE9 + Firefox 3.5
With SmartClient_83_PowerEdition + Analytic module + IE9 + Firefox 3.5
Code:
isc.CubeGrid.create({
ID:"ZZ_Custom_Demo_Grid",
data: Demo_Data,
top:100,
left:10,
width:"100%", height:400,
hideEmptyFacetValues:true,
autoFetchData:false,
formatCellValue:"isc.Format.toUSDollarString(value)",
columnFacets:["quarter","month","metric"],
rowFacets:["region","product"],
getCellCSSText: function (record, rowNum, colNum) {
//if (this.getFieldName(colNum) == "metric") {
if (record._value < 5000) {
return "font-weight:bold; color:red;";
} else if (record._value > 40000) {
return "font-weight:bold; color:green;";
}
//}
}
})
Comment