Closed salemu01 closed 3 years ago
We'll process the original issue in the main DevExtreme repository. Please do not post duplicate tickets. Our teams are monitoring all repositories.
Ok very well. Thank you.
Télécharger Outlook pour Androidhttps://aka.ms/AAb9ysg
From: AlekseyMartynov @.> Sent: Tuesday, May 18, 2021 11:27:12 AM To: DevExpress/DevExtreme.AspNet.Data @.> Cc: Surafel ALEMU @.>; Author @.> Subject: Re: [DevExpress/DevExtreme.AspNet.Data] Datagrid customsource Error while using DevExtreme.AspNet.Data (DevExtreme 21.1Beta) (#483)
We'll process the original issue in the main DevExtreme repository. Please do not post duplicate tickets. Our teams are monitoring all repositories.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDevExpress%2FDevExtreme.AspNet.Data%2Fissues%2F483%23issuecomment-843010925&data=04%7C01%7C%7Cc6f44f19bec74578eb7308d919df2038%7C6401e761c1e64c0186095ac0771df56f%7C0%7C0%7C637569268392136177%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8PBoecOF8%2FmWw1w6WhDzlvKuVAxKGrJ4akMJ45Dikms%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUDM5DRRCGZ2OVLNVKVPHFTTOIXHBANCNFSM45AS3NCQ&data=04%7C01%7C%7Cc6f44f19bec74578eb7308d919df2038%7C6401e761c1e64c0186095ac0771df56f%7C0%7C0%7C637569268392146171%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZxJwChFGO0ijfpq1Eb%2F8pNQBDyewCxWydtisdTMC6I8%3D&reserved=0.
[Could be a duplicated issue with https://github.com/DevExpress/DevExtreme/issues/17548, but here seems to be the correct place to adress it]
Steps to Reproduce:
____Typescript____
import { createStore } from 'devextreme-aspnet-data-nojquery'; import DataSource from 'devextreme/data/datasource'; ..... this.dataSource = new DataSource({ store: createStore({ ... }), ... ____HTML____ <dx-data-grid [dataSource]="dataSource" ......./>
Results You Received:
Code working on 20.X versions, but on the beta version, we have the following javascript error:
core.js:6157 ERROR TypeError: CustomStore is not a constructor at createStore (index.js:398) at GridWidgetComponent.CreateDataSource (grid-widget.component.ts:148) at SafeSubscriber._next (grid-widget.component.ts:90) at SafeSubscriber.__tryOrUnsub (Subscriber.js:183) at SafeSubscriber.next (Subscriber.js:122) at Subscriber._next (Subscriber.js:72) at Subscriber.next (Subscriber.js:49) at ReplaySubject._subscribe (ReplaySubject.js:61) at ReplaySubject._trySubscribe (Observable.js:42) at ReplaySubject._trySubscribe (Subject.js:81)
Results You Expected:
Instance of CustomStore created without issue. There seems to be a problem with package DevExtreme.AspNet.Data (devextreme-aspnet-data-nojquery) compatibility with the changes made in this beta version 21.1.
Environment Details:
Angular 11 Devextreme 21.1beta devextreme-aspnet-data-nojquery 2.8.2