I have a grid with incell editing with batch update set to true.
I have a custom command that synchronizes the data off two columns like this:
command.Custom("Sync Dates").Click("syncDates");
function syncDates(e) {
var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
dataItem.set("Date1", dataItem.Date2);
}
What is the best way to set the dirty flag on the Date1 cell?