Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 jxl excel 工作表中删除整行?我可以逐列查找内容。
我找到了这个链接,但就我而言,我只有 jxl 表而不是WritableSheet
WritableSheet
-阿米特
for (int i = endLine -1 ; i >= startLine -1 ; i--) { wSheet.removeRow(i);}
请记住,当删除此行时,JXL 将提升以下所有行,因此请尝试向后删除行以避免替代删除。