Hello,
I got a table control which is bound to an oData-model.
The table cells should be editable.
The problem is: When the content of a cell is changed, and you scroll up or down in the grid using the scrollbar, then all changes you've made are lost.
Is that a bug or a intended behaviour?
Could anybody confirm that?
Here's the coding o the table:
var oTable = new sap.ui.table.Table({ title: "Table Example", visibleRowCount: 7, firstVisibleRow: 3, selectionMode: sap.ui.table.SelectionMode.Single }); //Define the columns and the control templates to be used oTable.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "Gender"}), template: new sap.ui.commons.TextField().bindProperty("value","FIRSTNAME"), sortProperty: "FIRSTNAME", filterProperty: "FIRSTNAME" })); //Create a model and bind the table rows to this model var oModel = new sap.ui.model.odata.ODataModel('/demo/services/test.xsodata/', false); oTable.setModel(oModel); oTable.bindRows("/userdata");
I've notived that this problem doesn't occure when using a JSONModel instead of a ODataModel.
Thanks for any input.