Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LookupField in headerRow of the grid bug and workaround #27

Open
XandrMaster opened this issue Nov 21, 2024 · 0 comments
Open

LookupField in headerRow of the grid bug and workaround #27

XandrMaster opened this issue Nov 21, 2024 · 0 comments

Comments

@XandrMaster
Copy link

Thank you for very cool component 👍 ! But there is small bug if you use this component in the HeaderRow of the standard Vaadin Grid.
There is a Kotlin example :
val headerRow = Grid.appendHeaderRow() headerRow.getCell(column).component = LookupField().apply { comboBox.isClearButtonVisible = true grid = UsersGrid() }

  • this code works not well : If you click to open the search dialog button you will see just empty Grid with no any columns or settings. It bug reproduced only in headerRow of grid .
  • Workaround : just setup Grid in the constructor : LookupField<Users>(UsersGrid(), ComboBox()) instead of LookupField.setGrid(Grid<T> grid)

1732178508166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant