Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,13 @@ Object extractValueFromColumn(T item, Column<T> column) {
ValueProvider<T, String> customVP =
(ValueProvider<T, String>)
ComponentUtil.getData(column, GridExporter.COLUMN_VALUE_PROVIDER_DATA);
if (customVP != null) {
value = customVP.apply(item);
}
if (customVP != null) {
value = customVP.apply(item);
if (value == null && nullValueSupplier != null) {
value = nullValueSupplier.get();
}
return value;
}

// if there is a key, assume that the property can be retrieved from it
if (value == null && column.getKey() != null) {
Expand Down