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: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to