We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Refreshing a row

I am using the grid, in the virtual mode. When my application needs to update the grid it calls the RefreshRange(GridRangeInfo(RowNum)). I have a debug.writeline in my querrycellinfo handler displaying the row/col and value of the cell. The grid seems to sometimes not repaint the grid with that value. I can block the window with another window to force a repaint and then the values are updated. Do I need to do something else besides RefreshRange to force an update for an entire row?

1 Reply

AD Administrator Syncfusion Team February 25, 2004 06:18 PM UTC

If the cell being updated is the current cell, then calling RefreshRange may not update the current cell. Check to see if in, whether there is an overload of RefreshRange that takes a second bool argument. Setting this second argument to true will tell the grid to refresh the current cell as well.

Live Chat Icon For mobile
Up arrow icon