When I put ULCComboBox in ULCTable , and I have init action for
ULCComboBox cbxRole :

Example :
private ULCTable m_tblTable = null;
m_tblTable.getColumnModel().getColumn(TableModel.ROLE_COLUMN).setCellEditor(
new ITableCellEditor() {
public IEditorComponent getTableCellEditorComponent(
ULCTable table, Object value, int row) { //set default return getCbxRole();
}
});

public ULCComboBox getCbxRole() {
m_cbxRole = new ULCComboBox();

m_cbxRole.addActionListener(new IActionListener(){
public void actionPerform(event) {

  //my action }
  }
return m_cbxRole;
}

Result.
+ The action for comboBox m_cbxRole only process when I select new value for
comboBox cbxRole and move to another row in table. Do you know put
ULCComboBox in ULCTable and the action for combox process when I select new
value for comboBox and not need move to another row in table?.
.
Thanks and regards,

Hai

Reply via email to