Hi Team,
In our application we are using ig.loader to load only the necessary Infragistics controls dynamically in order to have a better performance. In a particular module in igGrid we are using a combo as a ComboEditorProviderCustom. It works fine when we are using the core.js and lob.js. But due to performance slowness in our application we don't want to use them. Currently we are facing issue in referring the ComboEditorProviderCustom in ig.loader. Kindly send us a sample application or the steps to refer the ComboEditorProviderCustom in the ig.loader.
Thanks in advance
Hello Ramesh,
Creating CustomEditorProviderCombo depends on igCombo and igGrid files to be loaded. One way to do this using loader is to put them in the resources property. In order not to load all of grid files only Updating feature files can be loaded.
$.ig.loader({ scriptPath: "http://cdn-na.infragistics.com/igniteui/2018.1/latest/js/", cssPath: "http://cdn-na.infragistics.com/igniteui/2018.1/latest/css/", resources: " igCombo, igGrid.Updating" });
Attached you can find sample that uses loader has a grid with Updating function and has CustomEditorProviderCombo.
In case that you have additional questions do not hesitate to ask them.
CustomEditorProviderComboSample.zip
Hello Martin,
Thanks for your reply. In my scenario the CustomEditorProviderCombo() function was defined after the grid initialization.
By defining the CustomEditorProviderCombo() before the grid initialization as provided in your sample, i was able to rectify the issue.
I have posted my scenario so that it could help someone somewhere dealing with the same kind of issue.
Hello Ramesh
I am glad you found my solution helpful.In case you have any additional questions feel free to ask them.
Thank you for using Infragistics Components.