HI,
Thanks for the sugession. But I tried this part of the code and unfortunately it is not generating the desired output.
What happening is that for the initial row, on pressing the ENTER button it creates the next row, but as soon as i am trying to insert another row by selecting the last column of the last row, the new row dosent get created
ant the selection changes to the first column of the first row.