@syncfusion/ej2-grids
Advanced tools
Comparing version 23.1.36 to 23.1.38
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.36 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
* version : 23.1.38 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
@@ -6,0 +6,0 @@ * A copy of the current license can be obtained at any time by e-mailing |
{ | ||
"_from": "@syncfusion/ej2-grids@*", | ||
"_id": "@syncfusion/ej2-grids@1.175.0", | ||
"_id": "@syncfusion/ej2-grids@23.1.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-0RBgTZBAa7jrSK7uUu6CESHDxOrYf+LNmRL2K+H4iulCcmxz+ZjMwC8xpiVO7/Tawq2NOWD/ymJ8Xt5WPxvjKw==", | ||
"_integrity": "sha512-7/+pMrdiY7ydyU5dcNRNb+6SfEasfxlVA/aVdpYiPsszezfBvDQ68VFKFzBsIzi+WCpvFO8r8Pv++rib02xkNw==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -32,4 +32,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-grids/-/ej2-grids-1.175.0.tgz", | ||
"_shasum": "dea0ee6fd8eba7b09a36b228ade5bb23d04154fe", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-23.1.36.tgz", | ||
"_shasum": "0b7036b235ddfbcd1afc32d7ec64452a9486ddd9", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -42,11 +42,11 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~23.1.36", | ||
"@syncfusion/ej2-base": "~23.1.38", | ||
"@syncfusion/ej2-buttons": "~23.1.36", | ||
"@syncfusion/ej2-calendars": "~23.1.36", | ||
"@syncfusion/ej2-calendars": "~23.1.38", | ||
"@syncfusion/ej2-compression": "~23.1.36", | ||
"@syncfusion/ej2-data": "~23.1.36", | ||
"@syncfusion/ej2-dropdowns": "~23.1.36", | ||
"@syncfusion/ej2-dropdowns": "~23.1.38", | ||
"@syncfusion/ej2-excel-export": "~23.1.36", | ||
"@syncfusion/ej2-file-utils": "~23.1.36", | ||
"@syncfusion/ej2-inputs": "~23.1.36", | ||
"@syncfusion/ej2-inputs": "~23.1.38", | ||
"@syncfusion/ej2-lists": "~23.1.36", | ||
@@ -56,3 +56,3 @@ "@syncfusion/ej2-navigations": "~23.1.36", | ||
"@syncfusion/ej2-pdf-export": "~23.1.36", | ||
"@syncfusion/ej2-popups": "~23.1.36", | ||
"@syncfusion/ej2-popups": "~23.1.38", | ||
"@syncfusion/ej2-splitbuttons": "~23.1.36" | ||
@@ -84,5 +84,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "23.1.36", | ||
"version": "23.1.38", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -34,3 +34,5 @@ import { extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
if (searchString !== gObj.searchSettings.key) { | ||
gObj.searchSettings.key = searchString.toString(); | ||
// Check searchString is decimal or integer and parseFloat to remove trailing zeros | ||
/* eslint-disable-next-line */ | ||
gObj.searchSettings.key = /^\d+(\.\d+)?$/.test(searchString) ? parseFloat(searchString).toString() : searchString.toString(); | ||
gObj.dataBind(); | ||
@@ -37,0 +39,0 @@ } |
@@ -66,2 +66,8 @@ import { isNullOrUndefined, extend } from '@syncfusion/ej2-base'; | ||
var result = col.getHeaderTemplate()(extend({ 'index': colIndex }, col), gObj, 'headerTemplate'); | ||
var isReactCompiler = gObj.isReact && typeof (col.headerTemplate) !== 'string'; | ||
var isReactChild = gObj.parentDetails && gObj.parentDetails.parentInstObj && | ||
gObj.parentDetails.parentInstObj.isReact; | ||
if (isReactCompiler || isReactChild) { | ||
gObj.renderTemplates(); | ||
} | ||
appendChildren(visualElement, result); | ||
@@ -68,0 +74,0 @@ } |
@@ -214,6 +214,4 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
if (!dataManager) { | ||
if (gObj.allowPaging && args.requestType !== 'paging' && !gObj.getDataModule().dataManager.dataSource.offline | ||
&& ((gObj.editSettings.mode !== 'Batch' && args.action !== 'add') || (gObj.editSettings.mode === 'Batch' | ||
&& args.requestType !== 'batchsave')) && gObj.pageSettings && gObj.pageSettings.pageSizes | ||
&& gObj.pagerModule && gObj.pagerModule.pagerObj && gObj.pagerModule.pagerObj.isAllPage) { | ||
if (gObj.allowPaging && !gObj.getDataModule().dataManager.dataSource.offline && gObj.pageSettings | ||
&& gObj.pageSettings.pageSizes && gObj.pagerModule && gObj.pagerModule.pagerObj && gObj.pagerModule.pagerObj.isAllPage) { | ||
gObj.pagerModule.pagerObj.isAllPage = undefined; | ||
@@ -277,2 +275,9 @@ } | ||
} | ||
if (gObj.allowPaging && (args.changes.addedRecords.length || | ||
args.changes.deletedRecords.length || | ||
args.changes.changedRecords.length) && gObj.pageSettings | ||
&& gObj.pageSettings.pageSizes && gObj.pagerModule && gObj.pagerModule.pagerObj | ||
&& !gObj.getDataModule().dataManager.dataSource.offline && gObj.pagerModule.pagerObj.isAllPage) { | ||
gObj.pagerModule.pagerObj.isAllPage = undefined; | ||
} | ||
var promise = this.data.saveChanges(args.changes, this.parent.getPrimaryKeyFieldNames()[0], args.original); | ||
@@ -279,0 +284,0 @@ var query = this.data.generateQuery().requiresCount(); |
@@ -92,4 +92,5 @@ import { createElement, remove } from '@syncfusion/ej2-base'; | ||
this.pagerModule.dataBind(); | ||
this.pagerModule.trigger('dropDownChanged', { pageSize: this.pagerModule.isAllPage ? this.pagerModule.totalRecordsCount : | ||
parseInt(this.dropDownListObject.value, 10) }); | ||
this.pagerModule.trigger('dropDownChanged', { pageSize: this.pagerModule.isAllPage || | ||
(this.pagerModule.isAllPage === undefined && this.dropDownListObject.value === this.pagerModule.getLocalizedLabel('All')) ? | ||
this.pagerModule.totalRecordsCount : parseInt(this.dropDownListObject.value, 10) }); | ||
}; | ||
@@ -96,0 +97,0 @@ PagerDropDown.prototype.refresh = function () { |
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 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
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
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
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
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
35168852
359851