Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed columns appearing as resizable when "resizable" is false for al…

…l of them.

Fixed arguments defaults in event triggering in the grid.
  • Loading branch information...
commit daacea89167c66790932dbfd0afb012936e883a1 1 parent 16ea985
@mleibman mleibman authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 slick.grid.js
View
7 slick.grid.js
@@ -514,8 +514,11 @@ if (typeof Slick === "undefined") {
lastResizable = i;
}
});
+ if (firstResizable === undefined) {
+ return;
+ }
columnElements.each(function(i,e) {
- if ((firstResizable !== undefined && i < firstResizable) || (options.forceFitColumns && i >= lastResizable)) { return; }
+ if (i < firstResizable || (options.forceFitColumns && i >= lastResizable)) { return; }
$col = $(e);
$("<div class='slick-resizable-handle' />")
.appendTo(e)
@@ -772,7 +775,7 @@ if (typeof Slick === "undefined") {
function trigger(evt, args, e) {
e = e || new Slick.EventData();
- args = args || args;
+ args = args || {};
args.grid = self;
return evt.notify(args, e, self);
}
Please sign in to comment.
Something went wrong with that request. Please try again.