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

setGlobalFilter

sets a global filter for Pivot

void setGlobalFilter(function filter);
filterfunctiona function that contains filtering logic for the whole Pivot

Example

pivot.setGlobalFilter(function(row){ 
    return row.form === "Republic" && row.year > 2007 
});

Details

Related sample:  Global filter

See also
Back to top