This issue has been raised due to a post on the rocket forum.
/// POST START ///
Hi,
I am working on a GWT version of an existing site
www.gtraffic.info
I am using the SortableTable to list regions and traffic incidents. I
am storing objects in the rows which represents the regions and
incidents.
I have created a composite obect to hold the tables and implemented the
handler for the TableListener interface i.e. onCellClicked.
Okay, when I click on a row to say select a region I want to be able to
fetch the appropriate object associated with that row i.e
Region data = (Region)this.getRows().get(index);
where 'index' is the row value.
The problem is it returns the objects in the order they were added and
not in the sorted order in which the are displayed.
How do I map the selected row to the correct data object associated
with with that row?
Al.
www.gtraffic.info
Nice controls btw.
/// POST END ///
Original issue reported on code.google.com by miroslav...@gmail.com on 12 Oct 2006 at 7:47
Original issue reported on code.google.com by
miroslav...@gmail.com
on 12 Oct 2006 at 7:47