slickgrid
Advanced tools
Comparing version 2.4.13 to 2.4.14
{ | ||
"name": "slickgrid", | ||
"version": "2.4.13", | ||
"version": "2.4.14", | ||
"description": "A lightning fast JavaScript grid/spreadsheet", | ||
@@ -5,0 +5,0 @@ "main": "slick.core.js", |
@@ -86,8 +86,2 @@ /*** | ||
}); | ||
if (Object.freeze) { | ||
Object.freeze(Slick.ColAutosizeMode); | ||
Object.freeze(Slick.AutoWidthStrategy); | ||
} | ||
@@ -94,0 +88,0 @@ /*** |
@@ -832,3 +832,3 @@ (function ($) { | ||
function setFunctionName(fn, fnName) { | ||
if (Object && Object.defineProperty) { | ||
try { | ||
Object.defineProperty(fn, 'name', { | ||
@@ -838,3 +838,3 @@ writable: true, | ||
}); | ||
} else { | ||
} catch(err) { | ||
fn.name = fnName; | ||
@@ -841,0 +841,0 @@ } |
@@ -41,3 +41,4 @@ (function ($) { | ||
groupFormatter: defaultGroupCellFormatter, | ||
totalsFormatter: defaultTotalsCellFormatter | ||
totalsFormatter: defaultTotalsCellFormatter, | ||
includeHeaderTotals: false | ||
}; | ||
@@ -141,3 +142,3 @@ | ||
function getGroupRowMetadata(item) { | ||
var groupLevel = item && item.level; | ||
var groupLevel = item && item.level; | ||
return { | ||
@@ -147,5 +148,6 @@ selectable: false, | ||
cssClasses: options.groupCssClass + ' slick-group-level-' + groupLevel, | ||
formatter: options.includeHeaderTotals && options.totalsFormatter, | ||
columns: { | ||
0: { | ||
colspan: "*", | ||
colspan: options.includeHeaderTotals?"1":"*", | ||
formatter: options.groupFormatter, | ||
@@ -152,0 +154,0 @@ editor: null |
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
3942706
92924