Open jcgueriaud1 opened 3 years ago
The reason for an NPE in this case is that there is no item updater defined. The expected way to use this is something like:
grid.addEditColumn(Person::getEmail)
.text((item, newValue) ->
item.setEmail(newValue))
Sure, the grid pro component should have a better error message, or an API that does not allow adding an edit column without an item updater.
Just had the same issue. I would expect the grid to init any edit column with .text()
automatically in the case of property name usage, which can then be overriden by the dev by calling one of the respective editory type methods like .checkbox()
. #ffs :)
Hi,
When I'm trying to edit a cell and type Enter I have a NullPointerException: Here is the view to reproduce:
Steps to reproduce:
Current result:
Expected result: No NullPointerException
I was able to reproduce in Vaadin 14.6.0.alpha1 but also in Vaadin 14.4.8.