Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1145
RequestAnimationFrame and iggrid
posted

Using version 17.1.20171.1017

We have been asked if our grids (we use uigrid) use requestAnimationFrame.

Could you provide some information on what uigrid uses to provide its UI refresh performance.

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello Aidan, 

    Thank you for your patience. 

    The igGrid itself does not use requestAnimationFrame. Most of its interactions and features don’t require frequent changes in the DOM/styles that would require this for performance optimizations.

    All animations use jQuery’s  built-in functions that have their own implementation that does not appear to use requestAnimationFrame (http://code.jquery.com/jquery-1.11.3.js).

     Only for scrolling it uses the igScroll component that uses  requestAnimationFrame for some of its features like inertia scrolling on touch. If you’re interested you can take a look at the code here, since it is open sourced:

    https://github.com/IgniteUI/ignite-ui/blob/master/src/js/modules/infragistics.ui.scroll.js

    Let me know if you have any additional questions or concerns.

     

    Regards,

    Maya Kirova

Children
No Data