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 am evaluating the grid for use in our company and have what is probably a very basic question. When I set the DataSource on a databound grid to a table in a typed DataSet, I see, in design mode, columns corresponding to the columns in the table. When I run the form, the grid is populated correctly.
The problem is, I want to change the header text of the bound columns to something more user-friendly than the db column names. To do this it seems I must edit the GridBoundColumns collection of the grid from scratch--since the initial bind did not create columns in this collection(?). Is it possible to automatically populate the bound column collection from the underlying datasource, and then just change the properties I want to on each column?
This may seem trivial but it's an across the board requirement for us, and some grids will potentially have large numbers of columns.
TIA,
Eric Tanafon
Charles River Development
ADAdministrator Syncfusion Team May 30, 2003 02:37 PM UTC
If you do not explicitly add GridBoundColumns, then the griddataboundgrid will populate the gridDataBoundGrid1.Binder.InternalColumns collection. You can access these columns to set the headertext and styleinfo property for a particular column without having to explicitly generate GridBoundColumns.