mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-17 16:10:04 +01:00
Set ezEditTable's scroll_into_view setting to true if grid-layout is on
This commit is contained in:
parent
b8a773c46d
commit
5b3fe38abe
9 changed files with 14 additions and 11 deletions
|
|
@ -20,7 +20,10 @@ export default class AdapterEzEditTable {
|
|||
this.stylesheetName = cfg.stylesheet_name || 'ezEditTableCss';
|
||||
this.err = 'Failed to instantiate EditTable object.\n"ezEditTable" ' +
|
||||
'dependency not found.';
|
||||
|
||||
// Turn on by default the scroll into view behaviour
|
||||
cfg.scroll_into_view = cfg.scroll_into_view===false ?
|
||||
false : tf.gridLayout;
|
||||
console.log(cfg.scroll_into_view);
|
||||
this._ezEditTable = null;
|
||||
this.cfg = cfg;
|
||||
this.tf = tf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue