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

e.TableControl.CurrentCell.Renderer.ControlText is null

Thread ID:

Created:

Updated:

Platform:

Replies:

57398 Mar 2,2007 07:34 PM UTC Mar 2,2007 08:39 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 2, 2007 07:34 PM UTC

Hi there,
I'm triggering TableControlCurrentCellActivated, but my currentcell.renderer keeps coming up null, even if I have RowIndex, ColIndex - I want to get the content for the current cell.

Thanks,
Dimitri

Administrator [Syncfusion]
Replied On March 2, 2007 08:39 PM UTC

Hi Dimitri,

The reason is that current cell is not activated in CurrentCellActivating event. You can try getting the activating cell text using the below code.

string strActiveText = e.TableControl.Model[e.Inner.RowIndex,e.Inner.ColIndex].Text

Best regards,
Haneef

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.

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

;