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.
Up arrow icon