Unplanned
Last Updated: 21 Oct 2026 14:36 by Martin Ivanov
Martin Ivanov
Created on: 21 Oct 2026 14:36
Category: VirtualGrid
Type: Bug Report
0
VirtualGrid: Pending PushCellValue values survive Reset and provider replacement and render against new data

RadVirtualGrid retains pending off-screen PushCellValue values across Reset(), Reset(rowCount, columnCount), and DataProvider replacement. When indices are reused for different data, the first realized cell consumes the stale value instead of retrieving the value from the new DataProvider. A pushed null renders a blank. Scrolling away and back retrieves the correct value. This can display data from a different item once after a dataset change.

STEPS TO REPRODUCE
1. Attach a DataProvider over 200 rows to a RadVirtualGrid. Keep the viewport at the top (rows 0–30 visible).
2. Call grid.PushCellValue(150, 2, "STALE") while row 150 is off-screen. Nothing visible changes (expected).
3. Replace the data: grid.Reset() and assign a new DataProvider over a different collection whose item at index 150 has a different value in column 2.
4. Scroll so row 150 comes into view.

Expected: cell (150, 2) shows the new item's value via CellValueNeeded.
Actual: cell (150, 2) shows "STALE". Scrolling it out of view and back in then shows the correct value.
0 comments