eas之设置单元格可编辑

for(int i=0;i<kdtEntrys.getRowCount();i++){
    kdtEntrys.getRow(i).getCell("orgUnit").getStyleAttributes().setLocked(false);
    kdtEntrys.getRow(i).getCell("bizMan).getStyleAttribute().setLocked(false);
}
//如果折扣金额为null则初始化为0
if(kdtEntrys.getRow(i).getCell("discountAmount").getValue()==null){
    kdtEntrys.getRow(0).getCell("discountAmount").setValue(new BigDecimal("0.0"));
}
//汇总分录行金额
BigDecimal amount=new BigDecimal("0");
for(int i=0,n=kdtEntrys.getRowCount();i<n;i++){
    amount=amount.add(......)
}

原文地址:https://www.cnblogs.com/luojiabao/p/10977240.html