I have created an editor grid.

After entering values in the grid, I want to pass this values to java and save it into database. I want to pass values after all rows are added into the grid.
I saw an example where the cell had a listener for change event, but I want to get all the rows of the grid. How can I do this?