* All apps: fix last rows was removed when adding new entry to list with only a couple of rows

see ticket #48204, we do a full refresh now to work around this issue until we have a real fix
This commit is contained in:
Ralf Becker
2020-08-17 12:15:40 +02:00
parent e3434b144d
commit 26a6749b3d
4 changed files with 28 additions and 1 deletions

View File

@ -277,6 +277,12 @@ var et2_dataview_controller = /** @class */ (function () {
}
return row;
};
/**
* Returns the current "total" count.
*/
et2_dataview_controller.prototype.getTotalCount = function () {
return this._grid.getTotalCount();
};
/* -- PRIVATE FUNCTIONS -- */
et2_dataview_controller.prototype._getIndexEntry = function (_idx) {
// Create an entry in the index map if it does not exist yet