Toolbox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Toolbox
table
/
com.michaelflisar.toolbox.table.definitions
Package-level
declarations
Types
Functions
Types
Cell
Link copied to clipboard
sealed
class
Cell
<
CellValue
>
Column
Link copied to clipboard
class
Column
<
CellValue
,
Item
>
(
val
header
:
Header
,
val
width
:
ColumnWidth
,
val
filter
:
Filter
<
Item
,
CellValue
>
?
=
null
,
val
sortable
:
Boolean
=
true
,
val
cellValue
:
(
item
:
Item
)
->
CellValue
,
val
createCell
:
@
Composable
(
item
:
Item
,
value
:
CellValue
)
->
Cell
<
CellValue
>
)
Filter
Link copied to clipboard
abstract
class
Filter
<
Item
,
CellValue
>
Header
Link copied to clipboard
sealed
class
Header
Row
Link copied to clipboard
class
Row
<
Item
>
(
val
item
:
Item
,
val
cells
:
List
<
Cell
<
*
>
>
)
Table
Definition
Link copied to clipboard
class
TableDefinition
<
Item
>
Functions
remember
Table
Definition
Link copied to clipboard
@
Composable
fun
<
Item
>
rememberTableDefinition
(
columns
:
List
<
Column
<
*
,
Item
>
>
,
keyProvider
:
(
item
:
Item
)
->
Any
)
:
TableDefinition
<
Item
>