Fixes bug when calling destroy with detachGrid=false. Thanks @jhpedemonte.
This commit is contained in:
parent
e1602ed658
commit
735ffa2129
4 changed files with 6 additions and 6 deletions
|
|
@ -1105,7 +1105,7 @@
|
|||
$(window).off('resize', this.onResizeHandler);
|
||||
this.disable();
|
||||
if (typeof detachGrid != 'undefined' && !detachGrid) {
|
||||
this.removeAll(true);
|
||||
this.removeAll(false);
|
||||
} else {
|
||||
this.container.remove();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue