StylishDataTableColumn

class StylishDataTableColumn<T>(val id: String, val title: String, val weight: Float = 1.0f, val horizontalAlignment: Alignment.Horizontal = Alignment.Start, val comparator: Comparator<T>? = null, val header: @Composable () -> Unit? = null, val exportValue: (T) -> Any?? = null, val cell: @Composable (T) -> Unit)

Column definition for StylishDataTable. The composable cell slot supports arbitrary UI, while comparator opts the column into sorting.

Constructors

Link copied to clipboard
constructor(id: String, title: String, weight: Float = 1.0f, horizontalAlignment: Alignment.Horizontal = Alignment.Start, comparator: Comparator<T>? = null, header: @Composable () -> Unit? = null, exportValue: (T) -> Any?? = null, cell: @Composable (T) -> Unit)

Properties

Link copied to clipboard
val cell: @Composable (T) -> Unit
Link copied to clipboard
Link copied to clipboard
val exportValue: (T) -> Any??
Link copied to clipboard
val header: @Composable () -> Unit?
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard