|
16597 | 16597 | "default": "960px", |
16598 | 16598 | "description": "The breakpoint to define the maximum width boundary when using stack responsive layout." |
16599 | 16599 | }, |
| 16600 | + { |
| 16601 | + "name": "cellMemo", |
| 16602 | + "optional": true, |
| 16603 | + "readonly": false, |
| 16604 | + "type": "boolean", |
| 16605 | + "default": "true", |
| 16606 | + "description": "Whether to enable cell memoization.\n\nWhen the memoization is enabled, be sure to:\n 1- Update the value prop (i.e., row data) to trigger a re-render of the cells of a given row.\n 2- Where necessary, use the spread operator (...) when updating the value prop objs which creates new fresh\n objects and avoids mutating the same objects.\n\nWhen the memoization is disabled, a re-render of the datatable will trigger a re-render of all cells, which can\nlead to performance issues with large datasets and is therefore not recommended." |
| 16607 | + }, |
| 16608 | + { |
| 16609 | + "name": "cellMemoProps", |
| 16610 | + "optional": true, |
| 16611 | + "readonly": false, |
| 16612 | + "type": "string[]", |
| 16613 | + "default": "['rowData', 'field', 'allowCellSelection', 'isCellSelected', 'editMode', 'index', 'tabIndex',\n'editing', 'expanded', 'editingMeta', 'frozenCol', 'alignFrozenCol']", |
| 16614 | + "description": "The cell props to be checked at memoization.\n\nPossible cell props are:\n 'hostName', 'allowCellSelection', 'cellMemo', 'cellMemoProps', 'cellMemoPropsDepth', 'cellClassName', 'checkIcon', 'collapsedRowIcon',\n 'field', 'resolveFieldData', 'column', 'cProps', 'dataKey', 'editMode', 'editing', 'editingMeta', 'onEditingMetaChange', 'editingKey',\n 'getEditingRowData', 'expanded', 'expandedRowIcon', 'frozenRow', 'frozenCol', 'alignFrozenCol', 'index', 'isSelectable', 'onCheckboxChange',\n 'onClick', 'onMouseDown', 'onMouseUp', 'onRadioChange', 'onRowEditCancel', 'onRowEditInit', 'onRowEditSave', 'onRowToggle', 'responsiveLayout',\n 'rowData', 'rowEditorCancelIcon', 'rowEditorInitIcon', 'rowEditorSaveIcon', 'rowIndex', 'rowSpan', 'selectOnEdit', 'isRowSelected', 'isCellSelected',\n 'selectionAriaLabel', 'showRowReorderElement', 'showSelectionElement', 'tabIndex', 'getTabIndex', 'tableProps', 'tableSelector', 'value',\n 'getVirtualScrollerOption', 'ptCallbacks', 'metaData', 'unstyled', 'findNextSelectableCell', 'findPrevSelectableCell', 'findDownSelectableCell',\n 'findUpSelectableCell', 'focusOnElement', 'focusOnInit', 'updateStickyPosition'\n\nIMPORTANT: Including a function to be checked will in general disable the memoization in practice, since functions are\ncompared by reference." |
| 16615 | + }, |
| 16616 | + { |
| 16617 | + "name": "cellMemoPropsDepth", |
| 16618 | + "optional": true, |
| 16619 | + "readonly": false, |
| 16620 | + "type": "number", |
| 16621 | + "default": "1", |
| 16622 | + "description": "The comparison depth when checking cell props (e.g., rowData) at memoization." |
| 16623 | + }, |
16600 | 16624 | { |
16601 | 16625 | "name": "cellSelection", |
16602 | 16626 | "optional": true, |
|
19664 | 19688 | "type": "string", |
19665 | 19689 | "description": "The breakpoint to define the maximum width boundary when using stack responsive layout." |
19666 | 19690 | }, |
| 19691 | + { |
| 19692 | + "name": "cellMemo", |
| 19693 | + "optional": true, |
| 19694 | + "readonly": false, |
| 19695 | + "type": "boolean", |
| 19696 | + "description": "Whether to enable cell memoization.\n\nWhen the memoization is enabled, be sure to:\n 1- Update the value prop (i.e., row data) to trigger a re-render of the cells of a given row.\n 2- Where necessary, use the spread operator (...) when updating the value prop objs which creates new fresh\n objects and avoids mutating the same objects.\n\nWhen the memoization is disabled, a re-render of the datatable will trigger a re-render of all cells, which can\nlead to performance issues with large datasets and is therefore not recommended." |
| 19697 | + }, |
| 19698 | + { |
| 19699 | + "name": "cellMemoProps", |
| 19700 | + "optional": true, |
| 19701 | + "readonly": false, |
| 19702 | + "type": "string[]", |
| 19703 | + "description": "The cell props to be checked at memoization.\n\nPossible cell props are:\n 'hostName', 'allowCellSelection', 'cellMemo', 'cellMemoProps', 'cellMemoPropsDepth', 'cellClassName', 'checkIcon', 'collapsedRowIcon',\n 'field', 'resolveFieldData', 'column', 'cProps', 'dataKey', 'editMode', 'editing', 'editingMeta', 'onEditingMetaChange', 'editingKey',\n 'getEditingRowData', 'expanded', 'expandedRowIcon', 'frozenRow', 'frozenCol', 'alignFrozenCol', 'index', 'isSelectable', 'onCheckboxChange',\n 'onClick', 'onMouseDown', 'onMouseUp', 'onRadioChange', 'onRowEditCancel', 'onRowEditInit', 'onRowEditSave', 'onRowToggle', 'responsiveLayout',\n 'rowData', 'rowEditorCancelIcon', 'rowEditorInitIcon', 'rowEditorSaveIcon', 'rowIndex', 'rowSpan', 'selectOnEdit', 'isRowSelected', 'isCellSelected',\n 'selectionAriaLabel', 'showRowReorderElement', 'showSelectionElement', 'tabIndex', 'getTabIndex', 'tableProps', 'tableSelector', 'value',\n 'getVirtualScrollerOption', 'ptCallbacks', 'metaData', 'unstyled', 'findNextSelectableCell', 'findPrevSelectableCell', 'findDownSelectableCell',\n 'findUpSelectableCell', 'focusOnElement', 'focusOnInit', 'updateStickyPosition'\n\nIMPORTANT: Including a function to be checked will in general disable the memoization in practice, since functions are\ncompared by reference." |
| 19704 | + }, |
| 19705 | + { |
| 19706 | + "name": "cellMemoPropsDepth", |
| 19707 | + "optional": true, |
| 19708 | + "readonly": false, |
| 19709 | + "type": "number", |
| 19710 | + "description": "The comparison depth when checking cell props (e.g., rowData) at memoization." |
| 19711 | + }, |
19667 | 19712 | { |
19668 | 19713 | "name": "checkIcon", |
19669 | 19714 | "optional": true, |
|
0 commit comments