Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145108 | Jun 6,2019 10:05 PM UTC | Jun 15,2019 12:02 PM UTC | React - EJ 2 | 6 |
![]() |
Tags: Grid |
1. When filtering a Date column using filter={{ type: 'Excel' }} or filter={{ type: 'Checkbox' }} and date column has type='date' format={{ type: 'date', format: 'M/d/y' }}
The checkbox array does not initialize, it just spins.
2. When using the filter={{ type: 'Menu' }} the popup works fine in a web browser, but when in a mobile browser (or emulating a mobile browser in chrome-IPad) it cannot find the popup and crashes.
The following method cannot find an element with the value from this.POP which is 'e-filter-popup' so it returns null
ColumnMenu.prototype.getFilterPop = function () { return this.parent.element.querySelector('.' + this.POP); };
which eventually causes the error at:
ColumnMenu.prototype.filterPosition = function (e) { var filterPopup = this.getFilterPop(); >>>>filterPopup.classList.add(this.WRAP);
Uncaught TypeError: Cannot read property 'classList' of null
at ColumnMenu.filterPosition (column-menu.js?cdc0:486)
at Observer.notify (observer.js?80b9:89)
at GridComponent.Component.notify (component.js?9a80:188)
at FilterMenuRenderer.dialogCreated (filter-menu-renderer.js?19e9:87)
at Observer.notify (observer.js?80b9:89)
at Dialog.Base.trigger (base.js?6f2c:149)
at Dialog.Component.appendTo (component.js?9a80:130)
at FilterMenuRenderer.renderDlgContent (filter-menu-renderer.js?19e9:80)
at FilterMenuRenderer.openDialog (filter-menu-renderer.js?19e9:32)
at Filter.filterDialogOpen (filter.js?4dcd:492)
ColumnMenu.filterPosition @ column-menu.js?cdc0:486
Observer.notify @ observer.js?80b9:89
Component.notify @ component.js?9a80:188
FilterMenuRenderer.dialogCreated @ filter-menu-renderer.js?19e9:87
Observer.notify @ observer.js?80b9:89
Base.trigger @ base.js?6f2c:149
Component.appendTo @ component.js?9a80:130
FilterMenuRenderer.renderDlgContent @ filter-menu-renderer.js?19e9:80
FilterMenuRenderer.openDialog @ filter-menu-renderer.js?19e9:32
Filter.filterDialogOpen @ filter.js?4dcd:492
Filter.columnMenuFilter @ filter.js?4dcd:482
Observer.notify @ observer.js?80b9:89
Component.notify @ component.js?9a80:188
ColumnMenu.getFilter @ column-menu.js?cdc0:455
ColumnMenu.columnMenuItemClick @ column-menu.js?cdc0:316
Observer.notify @ observer.js?80b9:89
Base.trigger @ base.js?6f2c:149
MenuBase.clickHandler @ menu-base.js?76b3:1034
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.