Hello,
This is kind of an odd one, but we are using our own persistence in a batch mode grid and when the user comes back, we reload where they were at with all of their data. That works fine, but now because of it just being an array in the datasource, none of the cells are greens when they click save, the batchChanges arrays are empty. How can we iterate through the cells and highlight them in green?
Currently we are doing:
function grid_items_to_inventory_dataBound(args){
this.toolbarModule.enableItems(['grid_items_to_inventory_saveButton'], false);
console.log(this.currentViewData);
for(var i=0;i<this.currentViewData.length;i++){
if(this.currentViewData[i].warehouse_location_id){
this.editCell(i,'warehouse_location_id');
//this.setCellValue(this.currentViewData[i].id,'asset_number','test');
}
}
}
It cycles through the cells and trips the cellSaved event but doesn't actually make the cell dirty. We have tried the setCellValue which changes the cell value but again, does not make the cell dirty so it shows up in green. Any thoughts?