Right now I'm playing with ScrollTable from GWT Incubator. I'm trying to make functionality when user select one row then click on Edit button and then he will be able to edit that particular Object. Right now I have to check what row has been selected
Integer secRowPosition = e.getSelectedRows().iterator().next().getRowIndex();
then query my dataTable for row and column to select unique id and then query my database for that object:
myObject = getObjectFromDBbyID(dataTable.getText(secRowPosition, 0));
This method works fine for me, but is it possible to get that object straight from the table and not form database so I can save some time without querying my database.
I assume I need to assign each object to the row in ScrollTable in order to do that. Any ideas?