1. Get the grid object 2. Get the active row 3. Get the active cell
If you want i can provide you the sample code for this.
Murali