Hi,
Is there any working example for the igCombo or any other control for that matter, with data that comes from a REST end point (or any other late data that need to be rebind).I cant seem to make it work.
If I use any method like the $('#id').igCombo('dataBind') when I get the data, I always get the "cannot call methods on igCombo prior to initialization" error.I tried to re initialize the control like $('#id').igCombo(options) - but again, it does not work/
any help will be nice
Hi,Thanks for the quick response.I managed to get the late binding to work in the data-chart.In the data-chart control, there is no rendered event and way (that I found) to get the control (ui.owner).for the data-chart control, the jQuery option $("#chart").igDataChart("option","dataSource",date); - seem to work, as opposed to the igCombo.There is a bit of inconsistency between the controls, and it is time consuming, to try and figure out how to deal with each control separately. thanks anyway for you response.
Hello Amos,
There should not be any difference when databinding with our data chart.
If the issue is different, please create a new thread for better tracking.
If not, please send me a sample so I could further investigate.
I am looking forward to hearing from you.
OK,
Now how do I do it with datachart?
Thanks, this worked as expected.It would have been nice to have some documentation on the issue...
thanks for the help
Hello,
Please try with calling dataBind after you set the dataSource like this:
fetchData(combo) { combo.options.dataSource = Northwind.getData(); combo.dataBind(); }
and tell me whether it is working correctly with async calls.