Compose Material Data Table
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Compose Material Data Table
lib
/
io.github.aleksandar_stefanovic.composematerialdatatable
/
IntColumnSpec
Int
Column
Spec
class
IntColumnSpec
<
T
>
(
headerName
:
String
,
widthSetting
:
WidthSetting
,
valueSelector
:
(
T
)
->
Int
,
val
formatToString
:
(
Int
)
->
String
=
{ it.toString() }
,
val
parseToInt
:
(
String
)
->
Int
=
{ it.toInt() }
,
onEdit
:
(
rowIndex
:
Int
,
newValue
:
Int
)
->
Unit
?
=
null
)
:
ColumnSpec
<
T
,
Int
>
Members
Constructors
Int
Column
Spec
Link copied to clipboard
constructor
(
headerName
:
String
,
widthSetting
:
WidthSetting
,
valueSelector
:
(
T
)
->
Int
,
formatToString
:
(
Int
)
->
String
=
{ it.toString() }
,
parseToInt
:
(
String
)
->
Int
=
{ it.toInt() }
,
onEdit
:
(
rowIndex
:
Int
,
newValue
:
Int
)
->
Unit
?
=
null
)
Properties
format
To
String
Link copied to clipboard
val
formatToString
:
(
Int
)
->
String
parse
To
Int
Link copied to clipboard
val
parseToInt
:
(
String
)
->
Int