Check documentation for the latest version of DHTMLX Pivot types Pivot Docs

types

defines the types of data operations that can be applied to columns

object types;

Example

types: {
    operations: [
        { id: "sum", label: "sum" }, 
        { id: "min", label: "min" }, 
        { id: "max", label: "max" }
    ]
}

Details

This option also allows setting custom labels for the types of operations:

types: {
    operations: [
        { id: "sum", label: "SUM" }, 
        { id: "min", label: "MIN" },
        { id: "max", label: "max" },
        { id: "count", label: "count"}
    ]
}

Related sample:  Available methods

See also
Back to top