ADAdministrator Syncfusion Team June 23, 2003 01:30 PM
> Is there a way to show row number in the first or the pointer column of the GridDataBoundGrid?
You can change the row header celltype with
grid.Model.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";
Then it should display the row number in the first (header) column but you loose the pencil/marker.
If you need that marker another idea would be to set Model.Cols.HeaderCount = 1 and then handle the PrepareViewStyleInfo and set e.Style.Text = row.ToString(); when e.ColIndex = 1 (whereas 'e' is the event args passed to PrepareViewStyleInfo )