I have the Enabled property of certain cells set to False. What I want to achieve is when a click is registered on any of these ''disabled'' cells, a message is shown on the status bar.
In the CellClick event handler, I do the following:
if (!grid[e.RowIndex, e.ColIndex].Enabled)
// take action
What i see is the Enabled property is always true even though actually it is set to false. (I am setting it to false in the PrepareViewStyleInfo event handler).
What may I be doing wrong here?
Thanks a lot for your support!!