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
1035
Performance Guide (igGrid) - AutoAdjustHeight Section Documentation
posted

Shouldn't the text, that follows, in the second paragraph read "Therefore, you can significantly decrease the initial rendering time"

autoAdjustHeight (default: true)

If autoAdjustHeight is enabled (default), the height which is set on the grid (if any), is applied on the topmost grid container DIV. Then, if features such as paging or filtering are enabled, all other inner container sizes are subsequently calculated in order to calculate the scrolling container height of the element which holds all data rows.

This calculation is an expensive operation in most modern browsers (primarily FireFox and Internet Explorer), because it causes a reflow of the document. The DOM property which causes the reflow, simply by accessing it, is offsetHeight. Therefore, you can significantly increase the initial rendering time of the igGrid control by setting autoAdjustHeight to false.

Then autoAdjustHeight is disabled, the height specified as option during initialization is applied directly to the scrolling data container. Once the height is a known value then all other elements are added resulting in the final height of the grid. The ultimate height of the grid can more than the actual height setting depending on whether features such as paging or filtering enabled or whether fixedHeaders is enabled, and so on.

Parents
No Data
Reply
  • 17590
    Offline posted

    Hello hogleg,

    Thank you for posting in the community.

    Your assumption is correct and the increase should be changed to decreased.

    I have created a case with an ID of CAS-163762-V8P9D9 and I will continue assisting you via this support case. You could view this case in your account on our web site under the Support Activity.

    Please fell free to contact me if you need any further assistance with this matter.

Children
No Data