Hi,
I post this question yesterday but didn't pass the verification for about 12 hours. I don't know whats happened and try to post this again.
After I change to pro version, I found when I get ui and try to get rowIndx or colIndx will be return "undefined".
For example:
{ title: "Product", width: 152, dataIndx: "product",
editor:{
type: function(ui){
alert(ui.rowIndx);
alert(ui.colIndx);
//dropDownEditor(ui, productList);
},
getData: function(ui) {
//saveProduct;
}
}
}
For the above code, the "ui.rowIndx" and "ui.colIndx" will be "undefined".
And for the following codes:
$grid.pqGrid({
cellSave: function( event, ui ) {
var DM = $grid.pqGrid("option", "dataModel");
var CM = $grid.pqGrid( "option", "colModel" );
var gridData = DM.data;
var colIndex = ui.colIndx;
var rowIndex = ui.rowIndx;
}
});
I can get the rowIndx but colIndx also undefined.
Do I miss any rule for pro version?
Thank you!