I cannot seem to find a way to delete a row from an XSLFTable. I am trying the
following:
private void removeRow(XSLFTable table, int rowIndex){
CTTableRow[] rows = table.getCTTable().getTrArray();
rows = ArrayUtils.remove(rows, rowIndex);
table.getCTTable().setTrArray(rows);
}
But this exception gets thrown:
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
What is the proper way to delete a row from an XSLFTable?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]