Skip to content

Commit

Permalink
Fix #4238: Datatable performance issue when not editable (#4239)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Apr 20, 2023
1 parent dddd711 commit 6216c2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -9480,15 +9480,15 @@
"optional": true,
"readonly": false,
"type": "string",
"default": "({currentPage} of {totalPages})",
"default": "",
"description": "Name of the field that uniquely identifies a record in the data. Should be a unique business key to prevent re-rendering."
},
{
"name": "defaultSortOrder",
"optional": true,
"readonly": false,
"type": "null | 0 | 1 | -1",
"default": "({currentPage} of {totalPages})",
"default": "1",
"description": "Default sort order of an unsorted column."
},
{
Expand All @@ -9504,7 +9504,7 @@
"optional": true,
"readonly": false,
"type": "string",
"default": "cell",
"default": "",
"description": "Defines editing mode, options are \"cell\" and \"row\"."
},
{
Expand Down
2 changes: 1 addition & 1 deletion components/lib/datatable/DataTableBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const DataTableBase = {
dataKey: null,
defaultSortOrder: 1,
dragSelection: false,
editMode: 'cell',
editMode: null,
editingRows: null,
emptyMessage: null,
expandableRowGroups: false,
Expand Down

0 comments on commit 6216c2a

Please sign in to comment.