Robert Jaros
02/18/2020, 8:33 AMaddressbook-tabulator
example:
ColumnDefinition(tr("First name"), "firstName", editorComponentFunction = { _, _, _, _, data ->
TextInput(value = data.firstName).apply {
size = InputSize.SMALL
onEvent {
change = {
Model.saveAddress(data.id!!, data.copy(firstName = self.value))
}
}
}
}),
It's bound to the ObservableList
not redux store, but it should work the same. The point is to dispatch store modification somehow from the onChange
event (instead of calling success
callback).