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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cells column name

Thread ID:

Created:

Updated:

Platform:

Replies:

34875 Sep 19,2005 09:41 AM UTC Sep 19,2005 10:37 AM UTC WinForms 1
loading
Tags: GridControl
Kevin Vickers
Asked On September 19, 2005 09:41 AM UTC

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 10:37 AM UTC

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.

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

;