It seems run validateCell method twice when validate a CheckBoxColumn.
for example demo20
demo20.GridFrameController.java
code from 233 row to end , when update integer value to 100 and then click CheckBox, will print "aaabbbbb" twice
public boolean validateCell(int rowNumber,String attributeName,Object oldValue,Object newValue) {
// this method has been overrrided to listen for numeric/currency cell changes:
// in this case it will be invoked getTotals method to refresh bottom grid content...
if (attributeName.equals("currencyValue") || attributeName.equals("numericValue")) {
grid.getGrid().getBottomTable().reload();
}
if(attributeName.equals("checkValue")){
TestVO testVO = (TestVO) grid.getGrid().getVOListTableModel().getObjectForRow(rowNumber);
if(testVO.getIntValue() == 100){
System.out.println("aaabbbbb");
return false;
}
}
return true;
}