You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is the following code in CellState.filteredCellValue()
if (column.type.isSelect) {
return column.type.select.items.contains(newValue) ==true? newValue
: oldValue;
}
When I'm implementing some custom PlutoColumnType, I would like to have an ability to check newValue by myself.
Please add the following method to PlutoColumnType:
so I can override it in my custom PlutoColumnType.
And call it from the CellState.filteredCellValue() as the first statement:
final typeResult = column.type.filteredValue(oldValue: oldValue, newValue: newValue);
if (typeResult.$1) return typeResult.$2;
//... rest of current CellState.filteredCellValue() code
The text was updated successfully, but these errors were encountered:
Currently there is the following code in CellState.filteredCellValue()
When I'm implementing some custom PlutoColumnType, I would like to have an ability to check newValue by myself.
Please add the following method to PlutoColumnType:
so I can override it in my custom PlutoColumnType.
And call it from the CellState.filteredCellValue() as the first statement:
The text was updated successfully, but these errors were encountered: