flexmonster.runQuery can take options? just as it takes slice
something like :
var option ={
options: {
viewType: "grid" ,
"grid": {
"type": "classic"},
showFilter: true,
showHeaders: true
}}
flexmonster.runQuery(option);
i just need to update the options and not update the report data.
when i set options manully by below line fo code , the report data is set to empty somehow.
var options = {
grid: {
showGrandTotals: "off",
showTotals: "off",
type: "flat"
}
};
this.pivot.setOptions(options);
Hi Sabby!
I think in this case the most appropriate API call is setOptions
Does it work for you?
Thanks,
Tanya