TableCellEditEvent
classin packageklyn.gui.windows.events
public class TableCellEditEvent extends GuiEvent:
└ TableCellEditEvent

Result of an inline TableView cell edition.

The model has already accepted or rejected the value when this event is emitted. A rejected edition leaves the model unchanged.

table.cellEditFinished += lambda(event as TableCellEditEvent):
if not event.accepted:
print(event.message)
Properties
Modifier and Type Member Description
public readonly property accepted
accepted as Boolean
Whether the model accepted and stored the submitted value.
public readonly property column
column as Int
Zero-based column index of the edited cell.
public readonly property message
message as String
Model diagnostic when accepted is false, otherwise an empty string.
public readonly property previousValue
previousValue as String
Value stored before the edition began.
public readonly property row
row as Int
Zero-based row index of the edited cell.
public readonly property value
value as String
Value submitted by the inline editor.
Inherited Properties
propertyInherited Properties from Event: source, timestamp
Constructors
Modifier and Type Member Description
public TableCellEditEvent
TableCellEditEvent( source as Object, row as Int, column as Int, previousValue as String, value as String, accepted as Boolean, message as String = "" ):
Creates an inline-edition result.