Open hafizchin opened 8 years ago
this.data in slick.grid.js function setFrozenOptions() can sometimes be null, so calling this.data.length will cause a javascript error.
probably you can update the code to avoid this scenario.
current : var dataLength = getDataLength() || this.data.length; proposed: var dataLength = getDataLength() || (this.data || []).length;
by the way, thank you for adding this feature in slickgrid :+1:
this.data in slick.grid.js function setFrozenOptions() can sometimes be null, so calling this.data.length will cause a javascript error.
probably you can update the code to avoid this scenario.
current : var dataLength = getDataLength() || this.data.length; proposed: var dataLength = getDataLength() || (this.data || []).length;
by the way, thank you for adding this feature in slickgrid :+1: