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

How can I put sequence number in row header in Databoundgrid?

It seems gridcontrol has it built-in. jsut wondering how I can have gridboundcontrol with the same behavior? Thanks Chris

2 Replies

Administrator March 8, 2005 05:18 PM UTC

Try setting these properties. this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header"; this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.Font.Bold = false; this.gridDataBoundGrid1.Model.Options.NumberedRowHeaders = true;

Administrator March 8, 2005 10:42 PM UTC

works great. thanks
Loader.
Live Chat Icon For mobile
Up arrow icon