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.
Unfortunately, activation email could not send to your email. Please try again.

cells column name

Thread ID:

Created:

Updated:

Platform:

Replies:

34875 Sep 19,2005 05:41 AM Sep 19,2005 06:37 AM Windows Forms 1
loading
Tags: GridControl
Kevin Vickers
Asked On September 19, 2005 05:41 AM

i thought this would be easy but just cant see it... from within a gridcontrol querycellinfo event how do i know the cells column header i can get the colindex and rowindex but how do i get "A1" or whatever the cell is

Administrator [Syncfusion]
Replied On September 19, 2005 06:37 AM

Hi Kevin, You could try this code snippet: private void gridControl1_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e) { string s; if(e.RowIndex==1 && e.ColIndex==1) { s=Syncfusion.Windows.Forms.Grid.GridRangeInfo.GetAlphaLabel(e.ColIndex)+ Syncfusion.Windows.Forms.Grid.GridRangeInfo.GetNumericLabel(e.RowIndex); Console.WriteLine(s); } } Let us know if this helps. Best Regards, Jeba.

CONFIRMATION

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.

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.

;