DropdownColumnSpec

class DropdownColumnSpec<T, S : Comparable<S>>(headerName: String, widthSetting: WidthSetting, valueSelector: (T) -> S, val valueFormatter: (S) -> String = { it.toString() }, val choices: List<S>, onEdit: (rowIndex: Int, newValue: S) -> Unit? = null) : ColumnSpec<T, S>

Constructors

Link copied to clipboard
constructor(headerName: String, widthSetting: WidthSetting, valueSelector: (T) -> S, valueFormatter: (S) -> String = { it.toString() }, choices: List<S>, onEdit: (rowIndex: Int, newValue: S) -> Unit? = null)

Properties

Link copied to clipboard
val choices: List<S>
Link copied to clipboard