Ticket T1285788
Visible to All Users

Dx-data-grid state storing issue

created 6 days ago

Hello,

After upgrading devextreme from 23.2.5 to 24.2.6 in our project, all the grids in our application which are using fixed columns and state storing have stopped working.

If you clear local storage, the grid loads just fine but next refresh it will give an error in console:

core.mjs:6531

ERROR TypeError: Cannot read properties of undefined (reading 'done')

at ColumnHeadersView._renderCore (m_sticky_columns.js:101:29)

at ColumnHeadersView._renderCore (m_virtual_columns.js:83:44)

at ColumnHeadersView.render (m_modules.js:251:35)

at ColumnHeadersView._columnOptionChanged (m_columns_view.js:804:18)

at ColumnHeadersView._columnOptionChanged (m_column_headers.js:302:15)

at ColumnHeadersView._columnOptionChanged (m_filter_row.js:241:15)

at ColumnHeadersView._columnOptionChanged (m_header_filter.js:405:19)

at ColumnHeadersView._columnOptionChanged (m_sorting.js:101:15)

at Callback._fireCore (m_callbacks.js:25:50)

at Callback.fireWith (m_callbacks.js:68:14)

You have a sample minimal project reproducing this problem in the attached zip, just run npm install then ng serve. We've used Chrome and Edge to reproduce the issue.

If you click on the clear local storage and reload button the grid will load, then if you click reload without clearing local storage you will get the error in console.

Answers approved by DevExpress Support

created 6 days ago

Hello Cristina,

Thank you for the detailed description.

We already fixed this issue in the following bug report: DataGrid - Cannot read properties of undefined (reading 'done') error occurs when column fixing and state storing are used. The fix will be available in v24.2.7. However, you can already request a hotfix.

Regards,
Diana

    Comments (1)
    CO CO
    Cristina Oltean 3 days ago

      Thank you!

      A hotfix would be greatly appreciated.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.