BigDecimal tot = new BigDecimal(0);
for(int i=0;i<grid.getVOListTableModel().getRowCount();i++)
for(int k=1;k<grid.getTable().getGrid().getColumnCount();k++)
if (grid.getVOListTableModel().getValueAt(i,k)!=null)
tot = tot.add((BigDecimal)grid.getVOListTableModel().getValueAt(i,k));
if (tot.doubleValue()==0)
controlQty.setText("");
else {
controlQty.setEnabled(true);
controlQty.setValue(tot);