맥스그리드 API 레퍼런스
Preparing search index...
@maxgrid/core
GridCellStyleApi
Interface GridCellStyleApi
셀별 스타일 API(1.5.0). 행 키와 컬럼 id로 저장하고, 정렬·필터를 거쳐도 따라간다.
interface
GridCellStyleApi
{
clearCellStyles
(
opts
?:
{
columnIds
?:
string
[]
;
rowKeys
?:
RowKey
[]
}
,
)
:
void
;
getCellStyle
(
rowKey
:
RowKey
,
columnId
:
string
)
:
CellStyleInput
|
null
;
setCellStyle
(
rowKey
:
RowKey
,
columnId
:
string
,
style
:
CellStyleInput
|
null
,
)
:
void
;
setCellStyles
(
entries
:
{
columnId
:
string
;
rowKey
:
RowKey
;
style
:
CellStyleInput
|
null
;
}
[]
,
)
:
void
;
}
Hierarchy (
View Summary
)
GridCellStyleApi
GridApi
Index
Methods
clear
Cell
Styles
get
Cell
Style
set
Cell
Style
set
Cell
Styles
Methods
clear
Cell
Styles
clearCellStyles
(
opts
?:
{
columnIds
?:
string
[]
;
rowKeys
?:
RowKey
[]
}
)
:
void
Parameters
Optional
opts
:
{
columnIds
?:
string
[]
;
rowKeys
?:
RowKey
[]
}
Returns
void
get
Cell
Style
getCellStyle
(
rowKey
:
RowKey
,
columnId
:
string
)
:
CellStyleInput
|
null
Parameters
rowKey
:
RowKey
columnId
:
string
Returns
CellStyleInput
|
null
set
Cell
Style
setCellStyle
(
rowKey
:
RowKey
,
columnId
:
string
,
style
:
CellStyleInput
|
null
,
)
:
void
Parameters
rowKey
:
RowKey
columnId
:
string
style
:
CellStyleInput
|
null
Returns
void
set
Cell
Styles
setCellStyles
(
entries
:
{
columnId
:
string
;
rowKey
:
RowKey
;
style
:
CellStyleInput
|
null
;
}
[]
,
)
:
void
Parameters
entries
:
{
columnId
:
string
;
rowKey
:
RowKey
;
style
:
CellStyleInput
|
null
}
[]
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
clear
Cell
Styles
get
Cell
Style
set
Cell
Style
set
Cell
Styles
맥스그리드 API 레퍼런스
Loading...
셀별 스타일 API(1.5.0). 행 키와 컬럼 id로 저장하고, 정렬·필터를 거쳐도 따라간다.