I have an addin using the excel JS api that generates a pivot table. I wish to collapse the fields of this pivot table. This seems to be possible in the VBA api via pf.ShowDetail and DrillTo, but these functions/fields do not seem to be present in the JS api. Is there any workaround or similar method I can use?
If not, is there a place where I can request that this feature be added to the JS API?