fieldList

defines an array of fields from the dataset that will be used in Pivot

array fieldList;

Example

var myPivot = new dhx.Pivot("container", {
    data: dataset,                 
    fields: {
        // initial pivot structure
    },
    fieldList: [      
        { id: "name", label: "name" },
        { id: "year", label: "year" },
        { id: "continent", label: "Continent" },
        // more fields
    ]
});

Related samples

Details

You can also use this property to set custom labels for fields.

See also
Back to top