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?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to