Category / Section
How to refresh particular range of row which update the values of the unbound field in WinForms GridGroupingControl?
1 min read
Refresh the particular range of rows
The values of unbound fields for particular range can be updated by using RefreshRange() method. While changing unbound column cell values via code, QueryValue event will not get triggered with this. So, the particular column or the particular row can be refreshed to update the unbound column using RefreshRange().
C#
//Refresh the particular range of row which update the value of the unbound field. this.gridGroupingControl1.TableControl.RefreshRange(GridRangeInfo.Row(RowIndex)); //Refresh the particular range of row which update the value of the unbound field. this.gridGroupingControl1.TableControl.RefreshRange(GridRangeInfo.Col(colIndex));
VB
'Refresh the particular range of row which update the value of the unbound field. Me.gridGroupingControl1.TableControl.RefreshRange(GridRangeInfo.Row(RowIndex)) 'Refresh the particular range of row which update the value of the unbound field. Me.gridGroupingControl1.TableControl.RefreshRange(GridRangeInfo.Col(colIndex))
Samples: