ActivityTableModelEditor

fun <T> ActivityTableModelEditor(columns: Array<ColumnInfo<EditableDatum<T>, *>>, itemEditor: CollectionItemEditor<EditableDatum<T>>, emptyText: String, emptySubText: String, isCopyable: (T) -> Boolean = { true }, columnAdjuster: (List<TableColumn>) -> Unit = {})

Parameters

T

the data type

columns

the columns of the table, excluding the activity column

itemEditor

describes what happens when a row is edited

emptyText

the text to display when the table is empty

emptySubText

the instruction to display when the table is empty

isCopyable

returns true if and only if the given datum can be copied

columnAdjuster

invoked on the list of columns (including the activity column) to allow adjusting their properties

Sources

jvm source
Link copied to clipboard