Looks like ignite controls are taking too much time to render with knockout. When ko.applybinding is called $.Widget._createWidget @ infragistics.util.js. which take around 20-50ms for each control. So if we have around 100 control on a page it will take around 3-4 seconds.
$.Widget._createWidget also called from on document ready again after ko.applybinding which again take time.
Do you guys have any thoughts/suggestion here.
Hi Manish Dalal,
Thank you for posting on our forums.
I recommend reviewing the Performance Guide available in our documentation:http://www.igniteui.com/help/iggrid-performance-guide
Additionally, the performance of IgniteUI also relies on the browser's JavaScript performance. Please review the performance guide and ensure you're running the latest build for the browser you're using.
Please let me know if you have any questions regarding this matter.
This is not an issue with grid. Can you please explain why we need to create widget twice and why binding of each control take 30-35 ms. if we bind same with normal html control it take 2-3 ms for each control.
-Manish
Hi Manish,
We are looking into this and I will reply tomorrow with my findings.
Can you help me out here by telling me how are you measuring how much times does a control need to bind, and what controls exactly are you testing?
I tried with the igGrid, binding it with knockout and the mentioned createWidget function is being called only once on my side.
It seems that you might have an example of this, can you share it with us so we can examine this further?
I'm capturing time by adding logs in function applyBindingsToNodeInternal (ko functions) which internally call IG custom handler. We are using igcombo,igeditors etc. I would like to share example and other details privately , Can we create a case for this instead of discussing on forum ?
Hello Manish,
I have created case 'CAS-155189-N6S3H2' which can be seen from your account, at:
https://es.infragistics.com/my-account/support-activity.
I will be waiting for your example and other details there.
Thank you in advance!