Hi Maksim,
No, it is not right. I'd like to see data in the table without need to submit them to the backend. This is the code run within event handler
onTableItemAddButtonPressed : function(oEvent) {
var _oModel = this.getView().getModel("items");
var _oTable = this.getView().byId("idItems");
var _oEntry = {};
_oModel.createEntry(this.sWorkitemPath + "/ItemSet",
{
success : function() {
},
error : function() {
},
properties : {
});
// _oModel.submitChanges();
}
Till submitChanges is processed, no data appear in the table despite of being visible in OData property within model instance
After submitChanges data is created in the backend and after that visible in table.
Thanks Zdenek