Skip to content

Commit

Permalink
add onAutosizeColumns event
Browse files Browse the repository at this point in the history
  • Loading branch information
6pac committed Jul 20, 2018
1 parent 14bb1a8 commit 09962d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1326,6 +1326,9 @@ if (typeof Slick === "undefined") {

applyColumnHeaderWidths();
updateCanvasWidth(true);

trigger(self.onAutosizeColumns, { grid: self}, e);

if (reRender) {
invalidateAllRows();
render();
Expand Down Expand Up @@ -3896,6 +3899,7 @@ if (typeof Slick === "undefined") {
"onDragEnd": new Slick.Event(),
"onSelectedRowsChanged": new Slick.Event(),
"onCellCssStylesChanged": new Slick.Event(),
"onAutosizeColumns": new Slick.Event(),

// Methods
"registerPlugin": registerPlugin,
Expand Down

0 comments on commit 09962d9

Please sign in to comment.