Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
TwinColSelect sorted the Rightcolumn according to Leftcolumn - How can i st
When i select an item from LeftColumn of TwinColSelect field then RightColumn field is sorted automatically according to Leftcolumn field. Is it possible to stop sorting according to Leftcolumn? If possible how can i do that? my code is:
final protected TwinColSelect select;
select = new TwinColSelect("selectCategories", categories);
select.addValueChangeListener((event) -> { checkButtonState(nextButton); });
select.setItemCaptionPropertyId("name");
select.setLeftColumnCaption("LeftColumn");
select.setRightColumnCaption("RightColumn");
Here, categories is the data source.
Last updated on
Hi,
I tried it out, but in my test, the items in the right column weren't sorted, they appeared in the order that I added them. Can you elaborate a bit more?
Best regards,
Olli
Last updated on
You cannot reply to this thread.