|
Re: Refresh a listbox with a LookupCall backend [message #1862120 is a reply to message #1862118] |
Tue, 14 November 2023 04:57 |
Matthias Otterbach Messages: 55 Registered: August 2015 Location: Munich |
Member |
|
|
There is no such thing as an automatic reload for listboxes (actually also not for smart fields however they work differently, they are only loaded after they've been opened and each data request will trigger another load e.g. typing in the field).
However you could manually reload the listbox by calling org.eclipse.scout.rt.client.ui.form.fields.listbox.AbstractListBox#loadListBoxData. You would however still need an event or a trigger when to call this method, out-of-the box there is no such thing like a notification when a list has changed (and this would also only be useful if the list does not change too often) maybe you could add a reload button? Or if you do know about the changes (e.g. add/remove elements on the form itself) trigger the load method immediately again afterwards?
[Updated on: Tue, 14 November 2023 04:58] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03617 seconds