Redraw Grid

Hi,

I am using the TableControlDrawCellDisplayText event to draw some additional information to some cells of my grid.

Now when I change the data behind which is responsible for the additional information I want to redraw the grid or at least trigger the TableControlDrawCellDisplayText. How can I trigger this event pro programmatically?

Cheers,
Chris

1 Reply

HA haneefm Syncfusion Team June 25, 2007 05:22 PM UTC

Hi Chris,

Try calling the Refresh method to redraw the grid.

this.Grid.Refresh();
this.Grid.TableControl.RefreshRange(GridRangeInfo.Row(3)); //Redraw the 3rd row in a grid.

Best regards,
Haneef

Loader.
Up arrow icon