appendRow
Hi,
I have a button to add lines in a table, it磗 working, but I would like to set a value to a field after a line is created. I磛e used the setValue property, but nothing happens. Anybody can help me ? Here is the code i磎 using. Both fields don磘 change their values.
try {
RowKey rk = ca_assuntosDataProvider1.appendRow();
ca_assuntosDataProvider1.setCursorRow(rk);
String s = new String("S");
ca_assuntosDataProvider1.setValue("CA_ASSUNTOS.MUNI_COD_MUNICIPIO", new Integer(1));
("CA_ASSUNTOS.ASSU_STA_ATIVO", rk, s);
ca_assuntosDataProvider1.refresh();
} catch (Exception ex) {
log("Error Description", ex);
error(ex.getMessage());
}
tks a lot

