How can I set Datatable cell value at runtime and also want it’s onAfterEditStop event should get raised after setting the value.
You can’t fire exactly the same logic as for edit event, the nearest what can be done - you can fire event manually
$$("dt").callEvent("onAfterEditStop", [ parameters ]);
Also, if you need to trigger the default after-edit processing ( repainting, data saving, etc ) you can use
$$("dt").updateItem(id);
Thanks for reply,
1.How can I set value cell value at runtime?,
2.In my grid I have few cell which are read only and I want to set there value base on other cell value, when I enter any value into the cell I am recording that value into collection using in onAfterEditStop event, so same I want to do for
read only cell i.e. after computing the read only cell values I want to record that value but onAfterEditStop doesn’t get fire for read only cell. so how I can raise onAfterEditStop for read only column?