Problem with DataModel recordIndex
Currently I'm playing around a bit with a simple master/detail scenario
in plain swingx code. Simply copying the code from the appropriate
realizer elements works fine: The RowSelector propagates selection
changes to dataModel recordIndex.
The problem is the other direction: changes in recordIndex should
propagate back to the table selection. I would expect that the
recordIndex were a bound property of dataModel, then I (or the
RowSelector :-) could listen and update the selectionModel accordingly.
As is, I don't see any way to be notified of recordIndex changes.
yeah, Ramesh, I have a use case for you: navigating in the details
form usually is done via some next/prev buttons in the scope of the
form. The form should be ignorant of the view representing the master,
it only knows about a dataModel, so any actions defined in the form
should work on this model only.