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 build up a GridGroupingControl and then want to apply some preferences to change the order of the columns. I''ve tried using GGC.TableDescriptor.Columns Remove and Insert methods, I''ve also tried GGC.TableModel.Cols.MoveRange but neither seem to work. (When I examine in TableDescriptor columns variable I see the order has changed, but when I view the result it hasn''t)
What''s the best way to manage this?
ADAdministrator Syncfusion Team July 10, 2006 05:32 PM UTC
Hi Vito,
To rearrange the columns of the grid, you need to use the VisibleColumns.Move(). The Move method moves the element within the visible column collection. Here is some code snippet
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(1,3);
Please let me know if this helps.
Best Regards,
Haneef