Get the current row or the row you want editable and run it through this method: import oracle.jbo.server.ViewAttributeDefImpl;
public static void setRowEditable(Row row) {
int attribCount = row.getAttributeCount();
for(int i = 0; i < attribCount; i++) {
ViewAttributeDefImpl attrDef = (ViewAttributeDefImpl)
row.getStructureDef().getAttributeDef(i);
attrDef.setEditable(true);
attrDef.setUpdateableFlag(ViewAttributeDefImpl.UPDATEABLE);
}
}
The Incident Archive: A blog to store my knowledge on the errors that I fix on a daily basis