I have a problem for 2 days now, which I only noticed now, that its not about my backend of frontend, but the installed packages.
i cannot apply a datamanger as a datasource for a Grid. it keeps throwing an error that it cannot read the indexof of the datamanagers' datasources' url. even with an online sample that runs online fine, i cant get it to work.
this does not run in my application, throws the same error:
Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at UrlAdaptor.processQuery (adaptors.js:625:35)
at e.executeLocal (ej2-data.min.js:10:74366)
Hi Mehdi Nabhani,
We have checked the shared sample which is working fine at our end. Please refer to the below screenshot.
From your query we suspect that some duplicate package might be installed in “@syncfusion” folder of node_modules while updating. This may occur due to version mismatch of packages. So, we suggest you delete the “@syncfusion” folder and “package.lock.json” file from your application and follow the steps provided in the below documentation for update the packages.
If you are still facing the issue, please share the below details which will be helpful for us to validate further.
Thank you, I found the problem and solved it with the help of the documentation you provided.
We are glad to hear that your problem has been solved.