|
Re: Interfere right after an e.g. ListBox has been populated [message #1814250 is a reply to message #1814247] |
Fri, 06 September 2019 11:00 |
Matthias Otterbach Messages: 58 Registered: August 2015 Location: Munich |
Member |
|
|
Without having tested it I think you can use the method org.eclipse.scout.rt.client.ui.form.fields.listbox.AbstractListBox.checkKeys(Collection<? extends KEY>) to check specific rows of the list box for example after some other action has occurred or after the form has been loaded.
As you want to check the rows depending on some database condition you could for example call the method above in the org.eclipse.scout.rt.client.ui.form.AbstractFormHandler.execPostLoad() and check all keys depending on another service call (or maybe even a property already set to avoid an additional service call)? If you want to check the keys immediately after the list box table data has been populated you might also be able to just overwrite the org.eclipse.scout.rt.client.ui.form.fields.listbox.AbstractListBox.execPopulateTable() method, call the super-method and check the keys using the method above.
[Updated on: Fri, 06 September 2019 11:02] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03362 seconds