Hi team,
I have a problem want to confirm.
Please have a look with my codes:
{ title: "Product", dataIndx: "product",width: 130,
editor: {
type: "select", options: productArray,style: 'width:230px;'
},
render: function (ui) {
//return (ui.cellData.split(':')[0]);
if(ui.cellData == '' || ui.cellData == null){
return '';
}
else{
return (ui.cellData == '' ? '' : ui.cellData.split(':')[0]);
}
},
editable: function(ui){
var rowIndx=ui.rowIndx;
[b]var status = ui.rowData['status'];[/b]
if(status == 'SPR Counter Offer'){
return false;
}
else{
return true;
}
}
}
I have another column which index is "status". In previous version(2.1.0) I can get the status value by "ui.rowData['status']". But now when I test it with new version(2.4.1) the "ui.rowData" is undefined. But I can use this in render function.
Is there have any problem with my codes?
Thank you!