expandData(uniqueName: String)
[starting from version: 1.6]
Expands all nodes of the specified hierarchy. Please note, this method works only for CSV and JSON data sources.
pivot.expandData('Country');
Try on JSFiddle.
expandAllDatacollapseAllDatacollapseData
In this guide