Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
2670 | Feb 7,2003 07:37 AM UTC | Mar 8,2003 09:22 PM UTC | WinForms | 14 |
![]() |
Tags: GridControl |
this.gridDataBoundGrid.GridBoundColumns[col].HeaderText = "MyHeader";
if you have not explicitly added columns, you can use
this.gridDataBoundGrid.Binder.InternalColumns[col].HeaderText = "MyHeader";
If you are trying the PopulatHeaders with a gridcontrol, can you post some more information about the datasource and the code you are using?
grid.PopulateHeaders(GridRangeInfo.Cells(0,1,0,3),_header);
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e) { if(e.ColIndex == 0 && e.RowIndex > 0) { e.Style.CellType = "Header"; e.Style.Text = string.Format("row{0}", e.RowIndex); } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.