slickgrid
Advanced tools
Comparing version 2.4.31 to 2.4.32
@@ -217,2 +217,4 @@ /*** | ||
if ($(e.target).is(":checkbox")) { | ||
var isChecked = e.target.checked; | ||
var columnId = $(e.target).data("column-id") || ""; | ||
var visibleColumns = []; | ||
@@ -231,3 +233,3 @@ $.each(columnCheckboxes, function (i) { | ||
_grid.setColumns(visibleColumns); | ||
onColumnsChanged.notify({ allColumns: columns, columns: visibleColumns, grid: _grid }); | ||
onColumnsChanged.notify({ columnId: columnId, showing: isChecked, allColumns: columns, columns: visibleColumns, grid: _grid }); | ||
} | ||
@@ -234,0 +236,0 @@ } |
@@ -603,2 +603,4 @@ /*** | ||
if ($(e.target).is(":checkbox")) { | ||
var isChecked = e.target.checked; | ||
var columnId = $(e.target).data("column-id") || ""; | ||
var visibleColumns = []; | ||
@@ -617,2 +619,4 @@ $.each(columnCheckboxes, function (i) { | ||
var callbackArgs = { | ||
"columnId": columnId, | ||
"showing": isChecked, | ||
"grid": _grid, | ||
@@ -619,0 +623,0 @@ "allColumns": columns, |
{ | ||
"name": "slickgrid", | ||
"version": "2.4.31", | ||
"version": "2.4.32", | ||
"description": "A lightning fast JavaScript grid/spreadsheet", | ||
@@ -37,6 +37,6 @@ "main": "slick.core.js", | ||
"devDependencies": { | ||
"cypress": "^5.1.0", | ||
"eslint": "^7.8.1", | ||
"cypress": "^6.0.0", | ||
"eslint": "^7.14.0", | ||
"http-server": "^0.12.3" | ||
} | ||
} |
@@ -102,3 +102,7 @@ (function ($) { | ||
// focus on first input | ||
setTimeout(function () { editors[0].focus(); }, 0); | ||
setTimeout(function () { | ||
if (Array.isArray(editors) && editors.length > 0 && editors[0].focus) { | ||
editors[0].focus(); | ||
} | ||
}, 0); | ||
} | ||
@@ -105,0 +109,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4556619
100938