We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid column header

How can I change a column header text in a databound grid? By default the grid shows the column name from the datasource. Can I change this name at design time? Vladimir

1 Reply

SH Stefan Hoenig Syncfusion Team July 11, 2002 08:15 PM UTC

> How can I change a column header text in a databound grid? By default the grid shows the column name from the datasource. Can I change this name at design time? > > Vladimir The databound grid has a "GridBoundColumns" collection. At design time you can open the CollectionEditor for that collection and add columns to be displayed in the data bound grid. Each column has a MappingName and HeaderText and style information. The HeaderText is what you are looking for. But you also have to set the MappingName. Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon