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
105
Cannot read property 'getBoundingClientRect' of undefined when using fixed columns
posted

Hi,

I've just updated my version of IgniteUI and now I'm getting an error from igGrid when I'm using fixed columns.

The problem exists in "infragistics.ui.grid.framework.js", version: 15.2.20152.2174

In the _calculateAutoResizableWidths function.

It only occurs when I'm setting the isFixed property on a column.

It seems that the $firstRowCells selector only contains the unfixed columns while in an older version it also contained the fixed columns. The 'columns' variable does contain all columns and the 'index' variable gets set to a number out of bounds for $firstRowCells, thus making 'cell' undefined.

Is there a way to resolve this?

Thank you in advance.

  • 29417
    Offline posted

    Hello Yorrick,

     Thank you for posting in our forum. 

    I assume that you have a column in the column definitions that has width set to “*”, which is causing the issue.

    This issue has already been addressed and the fix will be added in the next service release.

    I’ve opened a private case for you with number CAS-173641-G2S0K4, where I’ll also provide you with a link to a private build where the issue is resolved. 

    You can find your active cases here: https://www.infragistics.com/my-account/support-activity

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

     Best Regards,

    Maya Kirova

    Infragistics, Inc.

    http://www.infragistics.com/support