Author |
Message |
06/08/2014 14:37:21
|
slist
Power User
Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline
|
Hi,
what I wanted to do today was a mechanism that saves data (=row) after deselection. That works (overriding onDeselect()).
But the border case in which my grid only holds one row makes some trouble (and probably when I 'leave the grid area', too)..
I set attributes flusharea and rowflusharea to true, avoidroundtrips to 1 and assigned an actionListener. Setters are called correctly (i.e. when my focus leaves the grid).
My expectation is that the actionListener is called afterwards, but obviously it is not. Did I miss something?
Thanks for your help and
BR
PS: Still using v.5_0_20140217, hope it's got nothing to do with that...
|
|
|
06/08/2014 15:49:28
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...just for the hack: could you put the FIXGRID in a surrounding PANE and define the FLUSHAREA on PANE level (together with corresponding ACTIONLISTENER)?
This should work in any case.
Thanks + Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
06/08/2014 16:18:42
|
slist
Power User
Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline
|
Hi,
this does indeed work. But it somehow seems a bit dirty. ;-)
Was the avoidroundtrips a bad decision?
BR
|
|
|
06/08/2014 16:39:08
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Thanks for your update!
@Was the avoidroundtrips a bad decision?
...no, I believe, that there were too many action events in the grid processing at one time and one did override the other. ("I believe" == I looked into the code, but did not check by debugging the scenario)
Now things are decoupled, so the action of the PANE has nothing to do with the action on the FIXGRID.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|