Xivgear Types Documentation
Preparing search index...
@xivgear/common-ui
table/tables
TableSelectionModel
Interface TableSelectionModel<RowDataType, CellDataType, ColumnDataType, SelectionType>
interface
TableSelectionModel
<
RowDataType
,
CellDataType
=
never
,
ColumnDataType
=
never
,
SelectionType
=
SingleCellRowOrHeaderSelection
<
RowDataType
,
CellDataType
,
ColumnDataType
,
>
,
>
{
clearSelection
()
:
void
;
clickCell
(
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
)
:
void
;
clickColumnHeader
(
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
,
)
:
void
;
clickRow
(
row
:
CustomRow
<
RowDataType
>
)
:
void
;
getSelection
()
:
SelectionType
;
isCellSelectedDirectly
(
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
,
)
:
boolean
;
isColumnHeaderSelected
(
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
,
)
:
boolean
;
isRowSelected
(
row
:
CustomRow
<
RowDataType
>
)
:
boolean
;
}
Type Parameters
RowDataType
CellDataType
=
never
ColumnDataType
=
never
SelectionType
=
SingleCellRowOrHeaderSelection
<
RowDataType
,
CellDataType
,
ColumnDataType
>
Implemented by
SingleCellRowOrHeaderSelectionModel
SingleRowConvertingSelectionModel
SingleRowSelectionModel
Index
Methods
clear
Selection
click
Cell
click
Column
Header
click
Row
get
Selection
is
Cell
Selected
Directly
is
Column
Header
Selected
is
Row
Selected
Methods
clear
Selection
clearSelection
()
:
void
Returns
void
click
Cell
clickCell
(
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
)
:
void
Parameters
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
Returns
void
click
Column
Header
clickColumnHeader
(
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
,
)
:
void
Parameters
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
Returns
void
click
Row
clickRow
(
row
:
CustomRow
<
RowDataType
>
)
:
void
Parameters
row
:
CustomRow
<
RowDataType
>
Returns
void
get
Selection
getSelection
()
:
SelectionType
Returns
SelectionType
is
Cell
Selected
Directly
isCellSelectedDirectly
(
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
)
:
boolean
Parameters
cell
:
CustomCell
<
RowDataType
,
CellDataType
>
Returns
boolean
is
Column
Header
Selected
isColumnHeaderSelected
(
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
,
)
:
boolean
Parameters
col
:
CustomColumn
<
RowDataType
,
CellDataType
,
ColumnDataType
>
Returns
boolean
is
Row
Selected
isRowSelected
(
row
:
CustomRow
<
RowDataType
>
)
:
boolean
Parameters
row
:
CustomRow
<
RowDataType
>
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
clear
Selection
click
Cell
click
Column
Header
click
Row
get
Selection
is
Cell
Selected
Directly
is
Column
Header
Selected
is
Row
Selected
Xivgear Types Documentation
Loading...