This behavior is likely due to the way GridX implements virtual scrolling for performance. GridX only renders rows currently visible on the screen. When scrolling, GridX re-renders new rows and removes old ones from the visible area. This can lead to the 'onRender' method being called twice: once when new rows are rendered and again when old rows are removed. This is expected behavior in GridX and doesn't require any special handling.

Dojo GridX 'onRender' Method Called Twice: Why and What to Do

原文地址: https://www.cveoy.top/t/topic/okr7 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录