I have setup an Angular 10 application together with .Net Core functionality (via "dotnet new angular" command)
Then I installed the igniteui for Angular package of which I use several components successfully.
As there is no igtree component in this package, I was wondering if I could integrate the igniteui-angular-wrappers package in my application.
Is it possible ? And what are the steps ?
Hello,
Thank you for posting in our community.
I have created and attached a sample project demonstrating how to integrate igniteui-angular-wrappers in an Angular project with ASP.NET Core. The steps I took were the following:
The steps listed above should allow you to successfully run a project.
Please let me know if you need any further assistance with this matter.
4760.Sample.zip
Hello Martin,
Thanks for looking into this issue. With your input, I got the igTree component working. My problem was caused by the jquery dependencies. It looks like I did not add all the necessary IgniteUI for JQuery dependencies in index.html.
thx, Peter
Hi Peter,
I am glad that you have resolved your issue.
Thank you for using Infragistics components.
Hi Martin,
When I use the static 'ProductCategories' datasource, all works well as I mentioned before.
But I can not succeed in binding the igTree to an observable in Angular. Can you guide me on this ?
After further investigation, in order to load the data asynchronously, the igTree component has to be loaded using the ComponentFactoryResolver in the subscription of the observable.
I have modified and attached the previous sample for your reference. Please test it on your side and let me know whether it helps you achieve your requirement.
0474.Sample.zip
I am currently in a process of creating a sample for you. I will keep you posted on my progress.