diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 5ef127fbb4..4ac23ebe8f 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -9480,7 +9480,7 @@ "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." }, { @@ -9488,7 +9488,7 @@ "optional": true, "readonly": false, "type": "null | 0 | 1 | -1", - "default": "({currentPage} of {totalPages})", + "default": "1", "description": "Default sort order of an unsorted column." }, { @@ -9504,7 +9504,7 @@ "optional": true, "readonly": false, "type": "string", - "default": "cell", + "default": "", "description": "Defines editing mode, options are \"cell\" and \"row\"." }, { diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index 744c6b2ad8..4b7281ecb7 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -21,7 +21,7 @@ export const DataTableBase = { dataKey: null, defaultSortOrder: 1, dragSelection: false, - editMode: 'cell', + editMode: null, editingRows: null, emptyMessage: null, expandableRowGroups: false,