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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





25839 Mar 8,2005 04:43 PM UTC Mar 8,2005 10:42 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On March 8, 2005 04:43 PM UTC

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

Administrator [Syncfusion]
Replied On 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 [Syncfusion]
Replied On March 8, 2005 10:42 PM UTC

works great. thanks


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon