- Home
- Forum
- Angular - EJ 2
- Cascading DropDownList - Error: DataManager - executeLocal() : A query is required to execute
Cascading DropDownList - Error: DataManager - executeLocal() : A query is required to execute
stiil this code giving me the error on latest version
node_modules_angular_core_fesm2022_core_mjs.js:7674 ERROR DataManager - executeLocal() : A query is required to execute
Error: DataManager - executeLocal() : A query is required to execute
Hi Bhautik Patel,
The error "DataManager - executeLocal(): A query is required to execute" might occur due to one of the following reasons:
If there are multiple versions of Syncfusion packages installed, conflicts may arise. We recommend deleting the node_modules and package-lock.json files and then reinstalling the dependencies using:
npm install |
Ensure that you are using the correct package for DataManager. Instead of @syncfusion/ej2-angular-data, please use @syncfusion/ej2-data, as it is required for query execution.
If different versions of Syncfusion packages are installed, compatibility issues may arise We recommend ensuring that all Syncfusion packages are installed with the same version (e.g., 28.2.X)
We have created a sample for your reference:
Sample: https://stackblitz.com/edit/angular-eunupfma?file=src%2Fapp.component.ts
If you still encounter the same issue, please share the following details with us:
- A list of your installed Syncfusion package versions (
package.jsondependencies) - A code snippet of how you are using the
DataManagerandQuery
Regards,
Yohapuja S
- 5 Replies
- 5 Participants
-
SE Scott Eaton
- Apr 3, 2019 08:37 PM UTC
- Feb 27, 2025 01:14 PM UTC