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.
GBGokul B Syncfusion Team March 9, 2007 01:38 AM UTC
Hi Monica,
You can specify the column number rather than the name of the column name as the PrimaryKey using below code snippet.
//Gets the Name of the column from the specific Index String str = this.GridGroupingControl1.TableDescriptor.Columns[0].Name; this.GridGroupingControl1.TableDescriptor.PrimaryKeyColumns.Add(str);
Let us know if you have any other queries.
Thanks for using Syncfusion products.
Regards, Gokulkumar.B
ADAdministrator Syncfusion Team March 9, 2007 03:01 PM UTC