catch the data at new row in the grid

Hi,

I would like to know when I input the data at new row in the grid. I can catch the data. could you give me the idea and sample please.

thank you
kenneth

You can get the value of any cell using the following method:

val=mygrid.cells(row_id,column_index).getValue()