I want to do something like this: I want a cell table in which each cell is a class which I have written. I need to add a click event for the cell table. So How can I get which cell was clicked. As Cell is a class which I have defined, based on the clicked cell I need to perform some action. Can I somehow get the object details of the cell which was clicked. For e.g
I need a excel sheet which is like cell table, each cell in the excel sheet is a class I have defined, say the class holds the values like:
CellClass{
boolean isempty;
string name;
int id;
}
Now If i click in the excel sheet, how can I get which cell was clicked, so that I can tell user the name of the cell and whether it is empty or not.