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.
as farr as i remember version 3.*.* contained method AddColumn(int indexAt,int count) as well as RemoveColumn. i can''t find such feature in version 4.1.62. How about version 4.2 ?
Thanks.
ADAdministrator Syncfusion Team July 10, 2006 07:21 PM UTC
Hi Roman,
We are not able to find any similar method in our source code of our versions. We hope the method referring to is a user defined method.
The following code snippet shows a method to insert columns in the gridcontrol
grid.Model.Cols.InsertRange(int InsertAt, int count)
For GridDataBoundGrid :
public GridBoundColumn AddColumn(string MappingName, string HeaderText)
{
GridBoundColumn gbc = new GridBoundColumn();
gbc.MappingName = MappingName;
gbc.HeaderText = HeaderText;
gridDataBoundGrid1.GridBoundColumns.Add(gbc);
return gbc;
}
Best regards,
Madhan
RKRoman KonstnkevitchJuly 12, 2006 05:47 PM UTC
Thanks. Is ther any simular method in GridControl?
ADAdministrator Syncfusion Team July 13, 2006 09:22 AM UTC
In a GridControl, you can use grid.Model.Cols.InsertRange to insert columns. To add columns on the right side, you can just increment grid.ColCount.