forked from extern/egroupware
grid now keeps its average height setting after clearing
This commit is contained in:
parent
2290b04102
commit
1b74d53608
@ -119,6 +119,7 @@ var et2_dataview_grid = Class.extend(et2_dataview_IViewRange, {
|
||||
|
||||
clear: function() {
|
||||
// Free the partition tree and recreate it
|
||||
this._avgHeight = this._partitionTree.getAverageHeight();
|
||||
this._partitionTree.free();
|
||||
this._partitionTree = new et2_dataview_partitionTree(this._dataProvider,
|
||||
this._rowProvider, this._avgHeight, this.innerTbody);
|
||||
|
Loading…
Reference in New Issue
Block a user