The pivotgrid has the built-in filter functionality. Please set the 'filters' property or call the 'layout' method to modify it.
pivot:{
rows:['Country','Category'],
columns:['Color'],
filters:['Destination'],
values:[
{field:'Price',op:'sum'},
{field:'Discount',op:'sum'}
]
},