slickgrid
Advanced tools
Comparing version 2.4.29 to 2.4.30
{ | ||
"name": "slickgrid", | ||
"version": "2.4.29", | ||
"version": "2.4.30", | ||
"description": "A lightning fast JavaScript grid/spreadsheet", | ||
@@ -5,0 +5,0 @@ "main": "slick.core.js", |
@@ -37,2 +37,3 @@ /*** | ||
* gridContainer: DOM element selector of the grid container, optional but when provided it will be resized with same size as the grid (typically a container holding the grid and extra custom footer/pagination) | ||
* applyResizeToContainer: Defaults to false, do we want to apply the resized dimentions to the grid container as well? | ||
* rightPadding: Defaults to 0, right side padding to remove from the total dimension | ||
@@ -82,2 +83,3 @@ * bottomPadding: Defaults to 20, bottom padding to remove from the total dimension | ||
bottomPadding: 20, | ||
applyResizeToContainer: false, | ||
minHeight: 180, | ||
@@ -272,3 +274,3 @@ minWidth: 300, | ||
_gridDomElm.height(newHeight); | ||
if (options.gridContainer) { | ||
if (options.gridContainer && options.applyResizeToContainer) { | ||
_gridContainerElm.height(newHeight); | ||
@@ -279,3 +281,3 @@ } | ||
_gridDomElm.width(newWidth); | ||
if (options.gridContainer) { | ||
if (options.gridContainer && options.applyResizeToContainer) { | ||
_gridContainerElm.width(newWidth); | ||
@@ -282,0 +284,0 @@ } |
@@ -46,2 +46,3 @@ (function ($) { | ||
formValues: {}, | ||
editors: {} | ||
}; | ||
@@ -94,3 +95,5 @@ | ||
editors.push(new (column.editor)(newArgs)); | ||
var currentEditor = new (column.editor)(newArgs); | ||
options.editors[column.id] = currentEditor; // add every Editor instance refs | ||
editors.push(currentEditor); | ||
} | ||
@@ -97,0 +100,0 @@ idx++; |
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
4550719
100740