cellFormatter:
FormattingDsl
.(cell: C) ->
CellAttributes
?
rowColFormatter:
FormattingDsl
.(row:
DataRow
<T>, col:
ColumnWithPath
<C>) ->
CellAttributes
?
format
{
columns
}
[
.
where
{
filter
:
RowValueFilter
}
]
[
.
at
(
rowIndices:
Collection
<
Int
> |
IntRange
|
vararg
Int
)
]
[
.
notNull
()
]
.
with
{
cellFormatter
}
|
.
notNull
{
cellFormatter
}
|
.
perRowCol
{
rowColFormatter
}
|
.
linearBg
(
from:
Pair
<
Number
,
RgbColor
>
,
to:
Pair
<
Number
,
RgbColor
>
)
[
.
format
↺ ]
cellAttributes:
CellAttributes
color:
RgbColor
- Returning CellAttributes
:
cellAttributes
and
cellAttributes
|
italic
|
bold
|
underline
|
background
(
color
)
|
background
(
r:
Short
,
g:
Short
,
b:
Short
)
|
linearBg
(
value:
Number
,
from:
Pair
<
Number
,
RgbColor
>
,
to:
Pair
<
Number
,
RgbColor
>
)
|
textColor
(
color
)
|
textColor
(
r:
Short
,
g:
Short
,
b:
Short
)
|
attr
(
name:
String
,
value:
String
)
- Returning RgbColor
:
black
|
white
|
green
|
red
|
blue
|
gray
|
darkGray
|
lightGray
|
rgb
(
r:
Short
,
g:
Short
,
b:
Short
)
|
linear
(
value:
Number
,
from:
Pair
<
Number
,
RgbColor
>
,
to:
Pair
<
Number
,
RgbColor
>
)