Hi,
In order to implement the behavior you are looking for it is recommended to use the OnBatchEditClosed event. In its handler you can set the value for the amount cell via the RadGrid API.
The code snippet below illustrates the approach:
Regards,
Viktor Tachev
Telerik
In order to implement the behavior you are looking for it is recommended to use the OnBatchEditClosed event. In its handler you can set the value for the amount cell via the RadGrid API.
The code snippet below illustrates the approach:
function
batchEditClosed(sender, args) {
var
masterTableView = sender.get_masterTableView();
var
batchEditingManager = sender.get_batchEditingManager();
var
rowIndex = args.get_row().id.split(
"__"
)[1];
var
amountCell;
if
(args.get_column().get_uniqueName() ==
"ChargeId"
) {
amountCell = masterTableView.getCellByColumnUniqueName(masterTableView.get_dataItems()[rowIndex],
"Amount"
);
setTimeout(
function
() {
batchEditingManager.changeCellValue(amountCell, 40);
}, 0);
}
}
Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items