Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit 2e5dbf2

Browse files
author
GitHub Actions Bot
committed
Update API doc
1 parent 6475c54 commit 2e5dbf2

1 file changed

Lines changed: 36 additions & 9 deletions

File tree

components/doc/common/apidoc/index.json

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16655,9 +16655,9 @@
1665516655
},
1665616656
{
1665716657
"name": "cellSelection",
16658-
"optional": true,
16658+
"optional": false,
1665916659
"readonly": false,
16660-
"type": "boolean",
16660+
"type": "true",
1666116661
"default": "false",
1666216662
"description": "Whether to cell selection is enabled or not."
1666316663
},
@@ -17242,9 +17242,9 @@
1724217242
"name": "selection",
1724317243
"optional": false,
1724417244
"readonly": false,
17245-
"type": "TValue",
17245+
"type": "null | DataTableCellSelection<TValue>[]",
1724617246
"default": "",
17247-
"description": "Selected array of values."
17247+
"description": "Selected cells."
1724817248
},
1724917249
{
1725017250
"name": "selectionAriaLabel",
@@ -17266,7 +17266,7 @@
1726617266
"name": "selectionMode",
1726717267
"optional": false,
1726817268
"readonly": false,
17269-
"type": "null | \"multiple\" | \"checkbox\"",
17269+
"type": "\"multiple\"",
1727017270
"default": "",
1727117271
"description": "Specifies the selection mode, valid values are \"single\", \"multiple\", \"radiobutton\" and \"checkbox\"."
1727217272
},
@@ -17916,7 +17916,7 @@
1791617916
{
1791717917
"name": "event",
1791817918
"optional": false,
17919-
"type": "DataTableSelectionMultipleChangeEvent<TValue>",
17919+
"type": "DataTableSelectionCellMultipleChangeEvent<TValue>",
1792017920
"description": "Custom selection change event."
1792117921
}
1792217922
],
@@ -18395,8 +18395,8 @@
1839518395
}
1839618396
]
1839718397
},
18398-
"DataTableSelectionCellChangeEvent": {
18399-
"description": "Custom cell selection change event.",
18398+
"DataTableSelectionCellSingleChangeEvent": {
18399+
"description": "Custom cell single selection change event.",
1840018400
"relatedProp": "DataTableProps.onSelectionChange",
1840118401
"props": [
1840218402
{
@@ -18422,6 +18422,33 @@
1842218422
}
1842318423
]
1842418424
},
18425+
"DataTableSelectionCellMultipleChangeEvent": {
18426+
"description": "Custom cell multiple selection change event.",
18427+
"relatedProp": "DataTableProps.onSelectionChange",
18428+
"props": [
18429+
{
18430+
"name": "originalEvent",
18431+
"optional": false,
18432+
"readonly": false,
18433+
"type": "SyntheticEvent<Element, Event>",
18434+
"description": "Browser event."
18435+
},
18436+
{
18437+
"name": "value",
18438+
"optional": false,
18439+
"readonly": false,
18440+
"type": "DataTableCellSelection<TValue>[]",
18441+
"description": "Selection objects."
18442+
},
18443+
{
18444+
"name": "type",
18445+
"optional": true,
18446+
"readonly": false,
18447+
"type": "\"cell\"",
18448+
"description": "Type of the selection."
18449+
}
18450+
]
18451+
},
1842518452
"DataTableRowEvent": {
1842618453
"description": "Custom context menu event.",
1842718454
"relatedProp": "onContextMenu",
@@ -21113,7 +21140,7 @@
2111321140
"description": "Function that returns a boolean by passing the row data to decide if the radio or checkbox should be displayed per row."
2111421141
}
2111521142
],
21116-
"extendedBy": "DataTablePropsSingle,DataTablePropsMultiple,DataTablePropsCell",
21143+
"extendedBy": "DataTablePropsSingle,DataTablePropsMultiple,DataTablePropsCellSingle,DataTablePropsCellMultiple",
2111721144
"extendedTypes": "Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"size\" | \"onContextMenu\" | \"ref\" | \"value\">"
2111821145
}
2111921146
}

0 commit comments

Comments
 (0)