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.
Hello, I have a GridRangeInfo object. How can extract the list of cells that make up the range cleanly? I have tried GetFirstCell and GetNextCell. This kinda works fine except in the case of a row/column selection, GetNextCell seems to ignore rolcount and colcount. Is there a utility or do I have to calculate the cells manually?
ADAdministrator Syncfusion Team December 18, 2007 04:43 PM UTC
Before trying to use GetFirstCell/GetNextCell, you can ensure these methods will work by making the range object a cell range. To do this, try this code:
//coverts an arbitary range to a cell range.
range = range.ExpandRange(1,1,gridControl1.RowCount,gridControl1.ColCount);