Why do you need adding editable combobox in the screen? I understand why it's not editable by design.
Still, if you need to add editable combobox you should do these steps:
1. Add a row into rowData in WWFActivity.loadActivities()
row 401
rowData.add(activity.getSummary());
rowData.add(activity.getWFState());
model.add(rowData);
2. Add a column in WWFActivity.loadActivities()
row 426
String[] columns = new String[]{Msg.translate(Env.getCtx(), "Priority"),
Msg.translate(Env.getCtx(), "AD_WF_Node_ID"),
Msg.translate(Env.getCtx(), "Summary"),
Msg.translate(Env.getCtx(), "State")};
3. Add a combobox in WListItemRenderer.Listcell getCellComponent(WListbox table, Object field,
int rowIndex, int columnIndex)
row 350
if (isCellEditable)
{
Textbox textbox = new Textbox();
textbox.setValue(field.toString());
textbox.addEventListener(Events.ON_CHANGE, this);
ZkCssHelper.appendStyle(textbox, "width: 96%;");
listcell.appendChild(textbox);
} else if (columnIndex == 3) {
Combobox combobox = new Combobox();
combobox.setValue(field.toString());
combobox.addEventListener(Events.ON_CHANGE, this);
ZkCssHelper.appendStyle(combobox, "width: 96%;");
listcell.appendChild(combobox);
}
else
{
listcell.setLabel(field.toString());
}
And you will get something like this:
It's just an example. Maybe more experienced developers will advise how to do it.