Hello,
I was just wondering if someone could show me how to use the igniteui-angular controls with the igLoader?even though the same files gets loaded, the controls do not initialize...In my shell page I have my igLoader
$(function () {
var region = window.navigator.userLanguage || window.navigator.language;
Globalize.culture(region); $.ig.loader({ scriptPath: "/Infragistics/js/", cssPath: '/Infragistics/css/', resources: 'igHierarchicalGrid.*,igEditors,igDialog,igCombo,igDataChart.*', autoDetectLocale: true, ready: function () { setupIgniteControls(); } }); })I also have my igniteui-angular script reference<script src="Scripts/igniteui-angular.js"></script>None of the controls are actually on this page and no matter the order of the scripts the ingiteui-angular controls won't load. IgLoader loads these files:
<script src="Infragistics/js/infragistics.core.js"></script><script src="Infragistics/js/infragistics.lob.js"></script><script src="Infragistics/js/infragistics.dv.js"></script>
which is also what the igniteui-angular controls need (if i have these scripts referenced in my shell page the ignite controls load but messes up my jquery and local stuff with the igLoader). I am using the loader to take care of setting up my locales. Can someone show met how I can use the igLoader with an igniteui-angular datepicker?(also I am using a mix of the jquery controls and the igniteui-angular controls so I need to be able to get both to load.)
Thanks,
Julie
Hi Denis,
We were able to get our project working based on your sample.Thanks,
Hello Julie,
I am still following up. Have you been able to resolve the issue?If you have any concerns or questions, please feel free to contact me, I will be glad to help you.Thank you for choosing Infragistics components!
Thank you for your patience!
You can create a custom dependency (using the $.ig.dependencies collection) in order to load the desired controls.
1 2 3 4 5
$.ig.dependencies.push({ widget: 'igniteui-angular', dependency: [{ name: 'igEditors' }], scripts: ['$path$/extensions/igniteui-angular.js'] });
Then you can request that dependency in your loader configuration.
$.ig.loader({ scriptPath: "http://cdn-na.infragistics.com/igniteui/2015.1/latest/js/", cssPath: "http://cdn-na.infragistics.com/igniteui/2015.1/latest/css/", resources: "igniteui-angular" });
Please review the attached sample and let me know if you need further assistance.
Thank you for contacting Infragistics Support!
We are currently looking into this matter and will keep you posted of any available information.Please do not hesitate to contact us with any updates or additional questions regarding this scenario in the meantime.