The following example gets the first row field.
DataPilotTable dataPilotTable = sheet.getDataPilotTables().item(1); DataPilotFields rowFields = dataPilotTable.getRowFields(); DataPilotField rowfield = rowFields.item(1);
Related information
item method