Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slickgrid

Package Overview
Dependencies
Maintainers
2
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slickgrid - npm Package Compare versions

Comparing version 2.4.28 to 2.4.29

9

controls/slick.gridmenu.js

@@ -62,3 +62,4 @@ /***

* divider: Whether the current item is a divider, not an actual command.
* disabled: Whether the item is disabled.
* disabled: Whether the item/command is disabled.
* hidden: Whether the item/command is hidden.
* tooltip: Item tooltip.

@@ -158,3 +159,3 @@ * command: A command identifier to be passed to the onCommand event handlers.

// we do this change because the Grid Menu is on the left container on a regular grid but is on the right container on a frozen grid
grid.onSetOptions.subscribe(function(e, args) {
grid.onSetOptions.subscribe(function (e, args) {
if (args && args.optionsBefore && args.optionsAfter) {

@@ -300,2 +301,6 @@ var switchedFromRegularToFrozen = args.optionsBefore.frozenColumn >= 0 && args.optionsAfter.frozenColumn === -1;

if (item.hidden) {
$li.addClass("slick-header-menuitem-hidden");
}
if (item.cssClass) {

@@ -302,0 +307,0 @@ $li.addClass(item.cssClass);

{
"name": "slickgrid",
"version": "2.4.28",
"version": "2.4.29",
"description": "A lightning fast JavaScript grid/spreadsheet",

@@ -5,0 +5,0 @@ "main": "slick.core.js",

@@ -75,3 +75,4 @@ (function ($) {

* divider: Boolean which tells if the current item is a divider, not an actual command. You could also pass "divider" instead of an object
* disabled: Whether the item is disabled.
* disabled: Whether the item/command is disabled.
* hidden: Whether the item/command is hidden.
* tooltip: Item tooltip.

@@ -93,3 +94,3 @@ * cssClass: A CSS class to be added to the menu item container.

* grid: Reference to the grid.
*
*
* onBeforeMenuShow: Fired before the menu is shown. You can customize the menu or dismiss it by returning false.

@@ -467,2 +468,7 @@ * Event args:

// if the item is hidden then add the hidden css class
if (item.hidden) {
$li.addClass("slick-cell-menu-item-hidden");
}
if (item.cssClass) {

@@ -543,2 +549,7 @@ $li.addClass(item.cssClass);

// if the item is hidden then add the hidden css class
if (item.hidden) {
$li.addClass("slick-cell-menu-item-hidden");
}
if (item.cssClass) {

@@ -545,0 +556,0 @@ $li.addClass(item.cssClass);

@@ -82,3 +82,4 @@ (function ($) {

* divider: Boolean which tell if the current item is a divider, not an actual command. You could also pass "divider" instead of an object
* disabled: Whether the item is disabled.
* disabled: Whether the item/command is disabled.
* hidden: Whether the item/command is hidden.
* tooltip: Item tooltip.

@@ -422,2 +423,7 @@ * cssClass: A CSS class to be added to the menu item container.

// if the item is hidden then add the hidden css class
if (item.hidden) {
$li.addClass("slick-context-menu-item-hidden");
}
if (item.cssClass) {

@@ -498,2 +504,7 @@ $li.addClass(item.cssClass);

// if the item is hidden then add the hidden css class
if (item.hidden) {
$li.addClass("slick-context-menu-item-hidden");
}
if (item.cssClass) {

@@ -500,0 +511,0 @@ $li.addClass(item.cssClass);

@@ -55,3 +55,4 @@ (function ($) {

* divider: Whether the current item is a divider, not an actual command.
* disabled: Whether the item is disabled.
* disabled: Whether the item/command is disabled.
* hidden: Whether the item/command is hidden.
* tooltip: Item tooltip.

@@ -74,3 +75,3 @@ * command: A command identifier to be passed to the onCommand event handlers.

* menu: Menu options. Note that you can change the menu items here.
*
*
* onBeforeMenuShow: Fired before the menu is shown. You can customize the menu or dismiss it by returning false.

@@ -257,2 +258,6 @@ * Event args:

if (item.hidden) {
$li.addClass("slick-header-menuitem-hidden");
}
if (item.cssClass) {

@@ -259,0 +264,0 @@ $li.addClass(item.cssClass);

/**
* Row Move Manager options:
* Row Move Manager options:
* cssClass: A CSS class to be added to the menu item container.

@@ -196,3 +196,3 @@ * columnId: Column definition id (defaults to "_move")

} else {
return { addClasses: "cell-reorder dnd" };
return { addClasses: "cell-reorder dnd", text: "" };
}

@@ -199,0 +199,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc