AD
Administrator
Syncfusion Team
October 9, 2003 08:23 AM UTC
You can just call Model.CoveredRanges.AddRange(0,col1, 0, col2) to cover header cells. Header cells can be accessed with row 0.
If you have more header rows, check out also the Grid\Samples\DataBound\GDBGMultiHeader sample.
Stefan
KI
Kis
October 9, 2003 11:50 PM UTC
thanks Stefan
It working so! but went I binding a datasource to the databoundgrid ,the column name will disply with the field name of the datasource ,and I want to change the the header name with databoundgrid[0,cili]="", but it is not working .How to do change the column name ?
thanks again!
AD
Administrator
Syncfusion Team
October 10, 2003 09:21 AM UTC
Override QueryCellInfo and set e.Style.Text when e.rowIndex = 0 and e.ColIndex = cili
Stefan