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.
Hi, I have asked this question before for the GGC, but now I need to do it for a GridControl within the PrepareViewStyleInfo event. Do you have any examples? I cant find a TableDescriptor for the GridControl.
ADAdministrator Syncfusion Team March 5, 2007 03:57 PM UTC
Actually to be more specific, how do I convert the RowIndex and ColIndex within the PrepareViewStyleInfo event of a GridControl to the actual row and column indexes of the underlying dataset?
Thanks John
ADAdministrator Syncfusion Team March 5, 2007 04:05 PM UTC
Hi John,
For GridControl:
Call the GetAlphaLabel method to get the column labels in a grid. Here is a code snippet
Sorry Im not sure how this works: GridRangeInfo.GetAlphaLabel(e.ColIndex);
Is GridRangeInfo a property of the grid? do I need to get the current selection and create a GridRangeInfo for it? Sorry I think Im being a bit dim today.
Thanks John
JHJohn HMarch 6, 2007 11:12 AM UTC
Hi Haneef, I found an example, its quite obvious really. :-)