Make it possible to view more than 50 rows (#3249)
Adding the options 100, 500, 1000 Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
This commit is contained in:
parent
adfe1aa925
commit
919892b85f
@ -35,7 +35,7 @@ function DataTableView(div) {
|
|||||||
this._div = div;
|
this._div = div;
|
||||||
|
|
||||||
this._gridPagesSizes = JSON.parse(Refine.getPreference("ui.browsing.pageSize", null));
|
this._gridPagesSizes = JSON.parse(Refine.getPreference("ui.browsing.pageSize", null));
|
||||||
this._gridPagesSizes = this._checkPaginationSize(this._gridPagesSizes, [ 5, 10, 25, 50 ]);
|
this._gridPagesSizes = this._checkPaginationSize(this._gridPagesSizes, [ 5, 10, 25, 50, 100, 500, 1000 ]);
|
||||||
this._pageSize = ( this._gridPagesSizes[0] < 10 ) ? 10 : this._gridPagesSizes[0];
|
this._pageSize = ( this._gridPagesSizes[0] < 10 ) ? 10 : this._gridPagesSizes[0];
|
||||||
|
|
||||||
this._showRecon = true;
|
this._showRecon = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user