Description

Members

NONE
Value: “none”
정렬하지 않음

ASCENDING
Value: “ascending”
순차 정렬

DESCENDING
Value: “descending”
역차 정렬

Examples

pivot.setPivotFields({
    columns: [
        {
            name: "OrderYear",
            direction: "descending"
        }, {
            name: "OrderQuarter",
            direction: "ascending"
        }
    ],
    rows: ["CustomerID", "ProductName"],
    values: [{
        name: "Quantity",
        expression: "sum"
    }, {
        name: "UnitPrice",
        expression: "sum"
    }],
});