ninegrid2 6.1443.0 → 6.1445.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12263,7 +12263,8 @@ class ngCellEx extends HTMLElement
12263
12263
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12264
12264
 
12265
12265
  $(button).on("click", e => {
12266
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12266
+
12267
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12267
12268
 
12268
12269
  if (fn) {
12269
12270
 
@@ -12259,7 +12259,8 @@ class ngCellEx extends HTMLElement
12259
12259
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
12260
12260
 
12261
12261
  $(button).on("click", e => {
12262
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12262
+
12263
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12263
12264
 
12264
12265
  if (fn) {
12265
12266
 
@@ -186,7 +186,8 @@ export class ngCellEx extends HTMLElement
186
186
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
187
187
 
188
188
  $(button).on("click", e => {
189
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
189
+
190
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
190
191
 
191
192
  if (fn) {
192
193
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1443.0",
4
+ "version": "6.1445.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -186,7 +186,8 @@ export class ngCellEx extends HTMLElement
186
186
  this.shadowRoot.querySelectorAll("button,ng-expand-button").forEach(button => {
187
187
 
188
188
  $(button).on("click", e => {
189
- let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell.getAttribute("onbuttonclick") || this.cell.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
189
+
190
+ let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
190
191
 
191
192
  if (fn) {
192
193