Problem with setSplitHorizontal() in AbstractSplitBox [message #1822197] |
Sat, 29 February 2020 12:00  |
Eclipse User |
|
|
|
Hi,
In my Scout 9 application I use split box field on the form.
I would like to give the user the opportunity to change the split position between vertical or horizontal. So I added a button that toggle value true/false in method setSplitHorizontal() on this field.
But running this method does nothing. The split position does not change from its default position, set with the getConfiguredSplitHorizontal() method during form initialization.
In network debug view in internet browser I see, that after clicking this button and changing the value with the setSplitHorizontal() method, nothing is sent back from the server to the browser except the field identifier, for example:
Is there any simple way to force the Scout framework to make this change work?
Earlier in this forum, in a similar problem with refreshing the table header text after changing it, the following code helped:
TableEvent event = new TableEvent(table, TableEvent.TYPE_COLUMN_HEADERS_UPDATED);
event.setColumns(table.getColumns());
table.fireTableEventInternal(event);
But SplitBox do not have any fire* method.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.51026 seconds