slickgrid
Advanced tools
Comparing version 2.4.5 to 2.4.6
{ | ||
"name": "slickgrid", | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"description": "A lightning fast JavaScript grid/spreadsheet", | ||
@@ -5,0 +5,0 @@ "main": "slick.core.js", |
@@ -29,2 +29,7 @@ (function ($) { | ||
// user could override the checkbox icon logic from within the options or after instantiating the plugin | ||
if(typeof _options.selectableOverride === 'function') { | ||
selectableOverride(_options.selectableOverride); | ||
} | ||
function init(grid) { | ||
@@ -31,0 +36,0 @@ _grid = grid; |
@@ -13,2 +13,3 @@ /*** | ||
* expandedClass: Extra classes to be added to the expanded Toggle | ||
* expandableOverride: callback method that user can override the default behavior of making every row an expandable row (the logic to show or not the expandable icon). | ||
* collapsedClass: Extra classes to be added to the collapse Toggle | ||
@@ -26,3 +27,3 @@ * loadOnce: Defaults to false, when set to True it will load the data once and then reuse it. | ||
* | ||
* AVAILABLE PUBLIC OPTIONS: | ||
* AVAILABLE PUBLIC METHODS: | ||
* init: initiliaze the plugin | ||
@@ -124,2 +125,7 @@ * expandableOverride: callback method that user can override the default behavior of making every row an expandable row (the logic to show or not the expandable icon). | ||
// user could override the expandable icon logic from within the options or after instantiating the plugin | ||
if(typeof _options.expandableOverride === 'function') { | ||
expandableOverride(_options.expandableOverride); | ||
} | ||
/** | ||
@@ -602,3 +608,3 @@ * Initialize the plugin, which requires user to pass the SlickGrid Grid object | ||
/** The Formatter of the toggling icon of the Row Detail */ | ||
function detailSelectionFormatter(row, cell, value, columnDef, dataContext) { | ||
function detailSelectionFormatter(row, cell, value, columnDef, dataContext, grid) { | ||
if (!checkExpandableOverride(row, dataContext, grid)) { | ||
@@ -605,0 +611,0 @@ return 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
3637786
92626