Hi,
We have an issue while calling ListGrid.formatCellValue(value, record, rowNum, colNum) in 8.3.
We have two columns with the same source of data but just want to display them in different formats. In v8.2p-2013-03-04, it works fine because the colNum passed in the formatCellValue method is correct: we get the 0 passed in for the first column and then 1 for the second column. However, in v8.3p-2013-04-29, it seems we get 0 passed in twice. Therefore we cannot set the display format for the second column as what we did in 8.2.
Please try the following code. In 8.2, the second column displays uppercase letters but in 8.3 the second column displays lowercase letters.
We have an issue while calling ListGrid.formatCellValue(value, record, rowNum, colNum) in 8.3.
We have two columns with the same source of data but just want to display them in different formats. In v8.2p-2013-03-04, it works fine because the colNum passed in the formatCellValue method is correct: we get the 0 passed in for the first column and then 1 for the second column. However, in v8.3p-2013-04-29, it seems we get 0 passed in twice. Therefore we cannot set the display format for the second column as what we did in 8.2.
Please try the following code. In 8.2, the second column displays uppercase letters but in 8.3 the second column displays lowercase letters.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, data: countryData, formatCellValue: function(value, record, rowNum, colNum) { if (colNum ==1) { return value.toUpperCase(); } else { return value; } }, fields:[ {name:"countryName", title:"Country"}, {name:"countryName", title:"Country"} ] })
Comment