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

e.TableControl.CurrentCell.Renderer.ControlText is null

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon