The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When a specific event is handle in my app, only one column in a grid (GridControl) needs to be refreshed.
At the moment I'm using Me.Refresh() to refresh the full grid but it's just a bit too slow.
I do handle the QueryCellInfo and I'm aware that this might need optimization. But I was wondering if it's possible to refresh only a single column in a grid instead of the full grid.
NRNirmal Raja Syncfusion Team August 7, 2008 05:19 AM UTC
Hi Stephane,
Thank you for your interest in Syncfusion product.
The GridControl has a method called RefreshRange() which is used to refresh a range of cell. The range should be given using GridRangeInfo class and the colindex which has to be refreshed has to be given in the method col() of GridRangeInfo.
Please refer the below code snippet for detail: int colindex = this.gridControl1.CurrentCell.ColIndex; this.gridControl1.RefreshRange(GridRangeInfo.Col(colindex));
Let me know if you have any queries.
Regards, Nirmal
S_Stephane _August 7, 2008 01:27 PM UTC
Can’t believe I didn’t see it, looks obvious this way.
It’s working great and the refresh is pretty fast.