Completed
Last Updated: 06 Dec 2010 05:19 by ADMIN
ADMIN
Julian Benkov
Created on: 06 Dec 2010 05:19
Category: GridView
Type: Bug Report
0
Using DeferRefresh causes setting of value in code to not update the cell visually
If I create a grid view and use DeferRefresh while adding rows, if I later update the value by using the Cell.value property, the cell does not update visually until you force a redraw of the cell in some fashion. The most reliable workaround was using a beginedit/endedit around the value change inside another DeferRefresh call, but it's really slow and unusable. The other thing I tried that worked a bit was getting the row and calling InvalidateRow() - which works for single line cells pretty well, but if you have auto size with multi-line, etc... it doesn't update the vertical height of the row correctly.
0 comments