☝️Small business or a startup? See if you qualify for our special offer.
+

Update data - unintended scroll

Answered
sedApta asked on July 25, 2025

Hi,

We’ve encountered an issue with the updateData method. According to the documentation, setting ignoreScroll to false (or leaving it undefined) should prevent any scrolling behavior.

However, we’re experiencing unintended scrolling of the pivot.

Here's a JSFiddle to reproduce the issue: scroll the pivot all the way to the right, then push the UpdateData button

Could you please look into this and let us know?

Thank you for your support.

 

Best regards,

Ilaria

1 answer

Public
Maksym Diachenko Maksym Diachenko Flexmonster July 28, 2025

Hello,

Thank you for reaching out to us.

The behavior you are experiencing is a known limitation related to how the ignoreScroll property works within the updateData method. When called, it uses the column index and multiplies it by the default column width to calculate the scroll position in pixels for it to be restored. However, the actual column width is changed and calculated during grid rendering, which happens after updateData triggering a full re-render of the grid. Because we cannot predict the size of the members and aggregated values, as the data may change, the algorithm is forced to recalculate the actual sizes and adjust the scrollbar position.
Our team reviewed this behavior multiple times, and the current approach was the most suitable compromise considering the complexity of the rendering process.

Feel free to contact us if more questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer