In gridcontroller classss, it possible to override the
public bollean validateCell(int row number, String attributeName, Object oldValue, object newValue) method in order to validate cell contents. But I would like to know if it is possible to validate cell content form values of the current VO object being edited???
validateCell return true if the checkedBoxColomn is checked at the current row????
Is there a method looking like this
public boolean (validateCell(String attributeName, VO ValueObjectImpl)???
validateCell method is invoked each time a cell in grid is changed.
I'm not sure to correctly understand your need, but if you want to listen for the cell changed event, you have to use validateCell method; within it you can access to the whole value object instead of old/newvalue of the cell, using: gridcontrol.getVOListModel().getObjectForRow(row)
Log in to post a comment.