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

Caption for DataColumn

Hi! Why DataGrid dosen't use captions for my columns- it uses ColumnNames anytimes:( Thank you.

1 Reply

CB Clay Burch Syncfusion Team May 6, 2002 05:48 PM UTC

I don't know why the Caption property on the DataTable.Columns are not working. But if you add a DataGridColumnStyle for each of your columns to a TableStyle used by your grid, you can set the header text in the DataGridColumnStyle.HeaderText property. This appears to work for me. Regards, Clay Burch

Loader.
Up arrow icon