@syncfusion/ej2-grids
Advanced tools
Comparing version 24.1.44 to 24.1.45
/*! | ||
* filename: index.d.ts | ||
* version : 24.1.44 | ||
* version : 24.1.45 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-grids@*", | ||
"_id": "@syncfusion/ej2-grids@24.1.43", | ||
"_id": "@syncfusion/ej2-grids@24.1.44", | ||
"_inBundle": false, | ||
"_integrity": "sha512-lZe6oUJDyDCt33jgOtYYB83zNKxCIuXjf+7SYbEKSy64/gmud7uyQP9uNBPMT2knIj+3GTB9r3Y6cmLr/hohnw==", | ||
"_integrity": "sha512-vZS4T92TeTL2u7c3oo0wdWITYEjtJmBRbH49P7t+x+cLVKxiSkM0mPHt6vizYey7bPij1PEzyweJ1irsS35rAw==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -31,4 +31,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-24.1.43.tgz", | ||
"_shasum": "f33d07cb372f76f3f3c50feb621a97c94a1fa7e3", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-24.1.44.tgz", | ||
"_shasum": "64ea2422fcfbc7496d781170cddd7e7274422f6e", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -42,10 +42,10 @@ "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~24.1.42", | ||
"@syncfusion/ej2-buttons": "~24.1.41", | ||
"@syncfusion/ej2-buttons": "~24.1.45", | ||
"@syncfusion/ej2-calendars": "~24.1.44", | ||
"@syncfusion/ej2-compression": "~24.1.41", | ||
"@syncfusion/ej2-data": "~24.1.41", | ||
"@syncfusion/ej2-dropdowns": "~24.1.44", | ||
"@syncfusion/ej2-dropdowns": "~24.1.45", | ||
"@syncfusion/ej2-excel-export": "~24.1.41", | ||
"@syncfusion/ej2-file-utils": "~24.1.41", | ||
"@syncfusion/ej2-inputs": "~24.1.41", | ||
"@syncfusion/ej2-inputs": "~24.1.45", | ||
"@syncfusion/ej2-lists": "~24.1.41", | ||
@@ -56,3 +56,3 @@ "@syncfusion/ej2-navigations": "~24.1.41", | ||
"@syncfusion/ej2-popups": "~24.1.44", | ||
"@syncfusion/ej2-splitbuttons": "~24.1.44" | ||
"@syncfusion/ej2-splitbuttons": "~24.1.45" | ||
}, | ||
@@ -83,5 +83,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "24.1.44", | ||
"version": "24.1.45", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -519,3 +519,3 @@ import { closest, addClass, select } from '@syncfusion/ej2-base'; | ||
Edit.prototype.actionComplete = function (e) { | ||
var actions = ['add', 'beginEdit', 'save', 'delete', 'cancel', 'filterafteropen', 'filterchoicerequest']; | ||
var actions = ['add', 'beginEdit', 'save', 'delete', 'cancel', 'filterAfterOpen', 'filterchoicerequest']; | ||
if (actions.indexOf(e.requestType) < 0) { | ||
@@ -656,3 +656,3 @@ this.parent.isEdit = false; | ||
} | ||
var restrictedRequestTypes = ['filterafteropen', 'filterbeforeopen', 'filterchoicerequest', 'filtersearchbegin', 'save', 'infiniteScroll', 'virtualscroll']; | ||
var restrictedRequestTypes = ['filterAfterOpen', 'filterBeforeOpen', 'filterchoicerequest', 'filterSearchBegin', 'save', 'infiniteScroll', 'virtualscroll']; | ||
var isRestrict = restrictedRequestTypes.indexOf(e.requestType) === -1; | ||
@@ -659,0 +659,0 @@ var isDestroyVirtualForm = this.parent.enableVirtualization && this.formObj |
@@ -907,3 +907,3 @@ import { EventHandler, detach, formatUnit, Browser, closest } from '@syncfusion/ej2-base'; | ||
if (col.columns) { | ||
this.getStackedWidth(col, width); | ||
return this.getStackedWidth(col, width); | ||
} | ||
@@ -910,0 +910,0 @@ else { |
@@ -48,2 +48,3 @@ import { IGrid, IAction, IIndex, ISelectedCell } from '../base/interface'; | ||
private isMultiCtrlRequest; | ||
private isMultiCtrlRequestCell; | ||
private enableSelectMultiTouch; | ||
@@ -50,0 +51,0 @@ private clearRowCheck; |
@@ -120,7 +120,7 @@ /** @hidden */ | ||
/** @hidden */ | ||
export var filterAfterOpen = 'filterafteropen'; | ||
export var filterAfterOpen = 'filterAfterOpen'; | ||
/** @hidden */ | ||
export var filterBeforeOpen = 'filterbeforeopen'; | ||
export var filterBeforeOpen = 'filterBeforeOpen'; | ||
/** @hidden */ | ||
export var filterSearchBegin = 'filtersearchbegin'; | ||
export var filterSearchBegin = 'filterSearchBegin'; | ||
/** @hidden */ | ||
@@ -127,0 +127,0 @@ export var commandClick = 'commandClick'; |
@@ -28,3 +28,3 @@ import { FilterSettings } from '../base/grid'; | ||
menuFilterBase: any; | ||
protected options: IFilterArgs; | ||
options: IFilterArgs; | ||
private maxHeight; | ||
@@ -31,0 +31,0 @@ private isMenuCheck; |
@@ -44,3 +44,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.requestType = ['paging', 'columnstate', 'reorder', 'cancel', 'save', 'beginEdit', 'add', 'delete', | ||
'filterbeforeopen', 'filterchoicerequest', 'infiniteScroll', 'virtualscroll']; | ||
'filterBeforeOpen', 'filterchoicerequest', 'infiniteScroll', 'virtualscroll']; | ||
_this.scrollTopCache = undefined; | ||
@@ -47,0 +47,0 @@ /** @hidden */ |
@@ -102,4 +102,4 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
} | ||
if (gObj.allowSelection && (args.action === 'clearFilter' || (args.requestType === 'searching' && args.searchString === '') || | ||
args.action === 'add')) { | ||
if (gObj.allowSelection && (args.action === 'clearFilter' || args.action === 'clear-filter' || | ||
(args.requestType === 'searching' && args.searchString === '') || args.action === 'add')) { | ||
gObj.selectionModule['rmtHdrChkbxClicked'] = false; | ||
@@ -106,0 +106,0 @@ } |
@@ -46,2 +46,3 @@ import { Column } from '../models/column'; | ||
private refreshRow; | ||
private disableRowSelection; | ||
private refreshMergeCells; | ||
@@ -48,0 +49,0 @@ /** |
@@ -99,3 +99,3 @@ import { isNullOrUndefined, extend, addClass, removeClass } from '@syncfusion/ej2-base'; | ||
if (row.isDataRow && this.parent.isCheckBoxSelection | ||
&& this.parent.checkAllRows === 'Check' && this.parent.enableVirtualization) { | ||
&& this.parent.checkAllRows === 'Check' && (this.parent.enableVirtualization || this.parent.enableInfiniteScrolling)) { | ||
row.isSelected = true; | ||
@@ -229,2 +229,6 @@ if (selIndex.indexOf(row.index) === -1) { | ||
thisRef_2.parent.trigger(rowDataBound, eventArg_1); | ||
if (!eventArg_1.isSelectable) { | ||
row.isSelectable = eventArg_1.isSelectable; | ||
this.disableRowSelection(thisRef_2, row, args, eventArg_1); | ||
} | ||
}); | ||
@@ -247,22 +251,3 @@ } | ||
if (!eventArg_1.isSelectable) { | ||
this.parent.selectionModule.isPartialSelection = true; | ||
row.isSelected = false; | ||
var chkBox = args.row.querySelectorAll('.e-rowcell.e-gridchkbox'); | ||
var isDrag = eventArg_1.row.querySelector('.e-rowdragdrop'); | ||
var cellIdx = this.parent.groupSettings.columns.length + (isDrag || this.parent.isDetail() ? 1 : 0); | ||
for (var i = 0; i < chkBox.length; i++) { | ||
chkBox[parseInt(i.toString(), 10)].firstElementChild.classList.add('e-checkbox-disabled'); | ||
chkBox[parseInt(i.toString(), 10)].querySelector('.e-frame').classList.remove('e-check'); | ||
} | ||
if (row.cells.length) { | ||
for (var i = cellIdx; i < row.cells.length; i++) { | ||
var cell = eventArg_1.row.querySelector('.e-rowcell[data-colindex="' + row.cells[parseInt(i.toString(), 10)].index + '"]'); | ||
if (cell) { | ||
removeClass([cell], ['e-selectionbackground', 'e-active']); | ||
} | ||
} | ||
} | ||
if (isDrag) { | ||
removeClass([isDrag], ['e-selectionbackground', 'e-active']); | ||
} | ||
this.disableRowSelection(this, row, args, eventArg_1); | ||
} | ||
@@ -313,2 +298,30 @@ if (this.parent.childGrid || isDraggable || this.parent.detailTemplate) { | ||
}; | ||
RowRenderer.prototype.disableRowSelection = function (thisRef, row, args, eventArg) { | ||
var selIndex = this.parent.getSelectedRowIndexes(); | ||
this.parent.selectionModule.isPartialSelection = true; | ||
row.isSelected = false; | ||
var selRowIndex = selIndex.indexOf(row.index); | ||
if (selRowIndex > -1) { | ||
selIndex.splice(selRowIndex, 1); | ||
} | ||
var chkBox = args.row.querySelectorAll('.e-rowcell.e-gridchkbox'); | ||
var isDrag = eventArg.row.querySelector('.e-rowdragdrop'); | ||
var cellIdx = thisRef.parent.groupSettings.columns.length + (isDrag || thisRef.parent.isDetail() ? 1 : 0); | ||
for (var i = 0; i < chkBox.length; i++) { | ||
chkBox[parseInt(i.toString(), 10)].firstElementChild.classList.add('e-checkbox-disabled'); | ||
chkBox[parseInt(i.toString(), 10)].querySelector('.e-frame').classList.remove('e-check'); | ||
} | ||
if (row.cells.length) { | ||
for (var i = cellIdx; i < row.cells.length; i++) { | ||
var cell = eventArg.row.querySelector('.e-rowcell[data-colindex="' + row.cells[parseInt(i.toString(), 10)].index + '"]'); | ||
if (cell) { | ||
removeClass([cell], ['e-selectionbackground', 'e-active']); | ||
} | ||
} | ||
} | ||
if (isDrag) { | ||
removeClass([isDrag], ['e-selectionbackground', 'e-active']); | ||
} | ||
}; | ||
; | ||
RowRenderer.prototype.refreshMergeCells = function (row) { | ||
@@ -315,0 +328,0 @@ for (var _i = 0, _a = row.cells; _i < _a.length; _i++) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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 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
36975592
376772