5.20231.904
Wijmo API Module wijmo.grid.immutable Wijmo API Module

wijmo.grid.immutable Module

Implements the wijmo.grid.immutable.ImmutabilityProvider class and its accompanying stuff. It allows you to use wijmo.grid.FlexGrid control with immutable data sources, while keeping all FlexGrid data editing and data transformation capabilities. It can be used to incorporate full-featured datagrid components in applications driven by state management systems that require data immutability, such as Redux.

Functions

copyObject

  • copyObject(target: any, ...src: any[]): any
  • Performs shallow copying of properties of one or more source objects into the target object. Can be used to clone objects in the Store reducers.

    Parameters

    • target: any

      The object to copy properties to.

    • Rest ...src: any[]

      One or more source objects whose properties must be copied to the target object.

    Returns any