If it says null, there is nothing to remove. Or do you mean by this question that you want in the view mode the null presentation value to be something else than “null”, e.g. empty string?
There is no easy building blocks for this kind of conditional edit row. We have possibility to set columns not editable though. There is no cross field validation in row editor either, so that is tricky too. One workaround could be to use edit form in DetailsGenerator instead, since that gives more freedom. Ofcourse it would look different though.
1 - When I 2x click to enter em edit mode in grid, the field that are null (for sample on String property) show the word null in grid, so I need to select that word and change them
set validator for a property that throws exception for given bean:
validators.put(Skupina.FNAZEV, object -> {
Objec id = table.getEditedItemId();
if (notEditableId.equals(id)) {
throw new InvalidValueException("This object cannot be edited");
}
This causes that one of the colums is red, editor shows error message and it can’t be saved.