table_mergeOptions
function table_mergeOptions<TFeatures, TData>(table, newOptions): TableOptions<TFeatures, TData>;Defined in: core/table/coreTablesFeature.utils.ts:134
Merges new table options with the current resolved options.
If options.mergeOptions is provided, it owns the merge behavior; otherwise
options are shallow-merged. Static options that should never change after
initialization are restored on a fresh object so framework merge helpers may
return readonly getter/proxy objects.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
newOptions
TableOptions<TFeatures, TData>
Returns
TableOptions<TFeatures, TData>
Example
const options = table_mergeOptions(table, nextOptions)