returns the current fields object of Pivot
var fields = myPivot.getFields();
The fields object includes the rows, cols and values attributes. Read the details.