projection(data)
Creates a new projection.
import { ProjectionTypes } from "devextreme-react/projection"
Parameters:
data:
An object specifying the conversion functions.
Object structure:
Return Value:
The projection.
After creating the custom projection, you can add it to the projections storage or assign the returning object to the projection option of the widget.