Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
ResetPersistDataAsync() on a Syncfusion SfGrid that contains a <GridAggregates> section but no <GridAggregateColumn> elements, the grid throws a JavaScript exception: “Cannot read properties of null (reading 'style')”. This issue occurs because the grid internally checks only whether aggregatesCount is non‑zero, and then attempts to access getFooterContent().querySelector('.e-table').style, assuming the footer table always exists. However, in cases where aggregates are defined but no aggregate columns are present, the footer content is rendered without an .e-table element, causing querySelector('.e-table') to return null and resulting in the runtime error. This prevents ResetPersistDataAsync() from functioning correctly, disrupts grid behavior, and makes it impossible to safely maintain a dynamic aggregates section where the list of aggregate columns may be empty.<GridAggregates> section without any <GridAggregateColumn> entries.ResetPersistDataAsync().getFooterContent().querySelector('.e-table').style.width = ''.querySelector('.e-table') returns null when no aggregate columns exist.