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" }
    ]
}

Related samples

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"}
    ]
}
See also
Back to top