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
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
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