-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Describe the bug
When I was using version 2.7.0,
I was able to do (availableItems is a list of String):
TwinColGrid<String> select = new TwinColGrid<String>(availableItems)
.addFilterableColumn(String::toString, itemsDescription, "filter", true)
.withSizeFull()
.withDragAndDropSupport()
.selectRowOnClick();
I am trying to make changes to adapt to 3.1.0 following the sample code:
final TwinColGrid<Book> twinColGrid = new TwinColGrid<>("TwinColGrid no binding demo and drag and drop support", availableBooks)
.addColumn(Book::getIsbn, "ISBN")
.addColumn(Book::getTitle, "Title")
.withLeftColumnCaption("Available books")
.withRightColumnCaption("Added books")
.withoutAddAllButton()
.withSizeFull()
.withDragAndDropSupport();
twinColGrid.setValue(selectedBooks);
I changed my code to:
new TwinColGrid<String>(availableItems)
.addFilterableColumn(String::toString)
.withSizeFull()
but it says The method withSizeFull() is undefined for the type FilterableTwinColumn
Is it possible to use the TwinColumnGrid for String on version 3.1.0?
Expected behavior
No response
Minimal reproducible example
No response
Add-on Version
3.1.0
Vaadin Version
24.5.9
Additional information
No response
coderabbitai
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Inbox (needs triage)