You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add this.resizeCanvas() as it helps to re-render the grid when a grid is initiated in collapse mode
functionhandleGridClick(e,args){varitem=this.getDataItem(args.row);if(item&&iteminstanceofSlick.Group&&$(e.target).hasClass(options.toggleCssClass)){varrange=_grid.getRenderedRange();this.getData().setRefreshHints({ignoreDiffsBefore: range.top,ignoreDiffsAfter: range.bottom+1});//take diff till range.bottom , and ignore it after.if(item.collapsed){this.getData().expandGroup(item.groupingKey);}else{this.getData().collapseGroup(item.groupingKey);}this.resizeCanvas();e.stopImmediatePropagation();e.preventDefault();}}
The text was updated successfully, but these errors were encountered:
In slick.groupitemmetadataprovider.js
add this.resizeCanvas() as it helps to re-render the grid when a grid is initiated in collapse mode
The text was updated successfully, but these errors were encountered: