mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 14:40:34 +02:00
* 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:
@ -23,6 +23,7 @@
|
||||
import {et2_IDataProvider} from "./et2_dataview_interfaces";
|
||||
import {et2_dataview_selectionManager} from "./et2_dataview_controller_selection";
|
||||
import {et2_dataview_row} from "./et2_dataview_view_row";
|
||||
import {et2_dataview_grid} from "./et2_dataview_view_grid";
|
||||
|
||||
/**
|
||||
* The fetch timeout specifies the time during which the controller tries to
|
||||
@ -43,7 +44,7 @@ export class et2_dataview_controller
|
||||
public static readonly CONCURRENT_REQUESTS = 5;
|
||||
|
||||
private _parentController: any;
|
||||
private _grid: any;
|
||||
private _grid: et2_dataview_grid;
|
||||
private dataStorePrefix: any;
|
||||
private _dataProvider: any;
|
||||
private _rowCallback: any;
|
||||
@ -390,6 +391,14 @@ export class et2_dataview_controller
|
||||
return row;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current "total" count.
|
||||
*/
|
||||
getTotalCount() : number
|
||||
{
|
||||
return this._grid.getTotalCount();
|
||||
}
|
||||
|
||||
/* -- PRIVATE FUNCTIONS -- */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user