How to hook double click action in table with existing functionality of edit action .
We use this code , but default edit functionality not working.
table.setItemClickAction(new BaseAction(“tableClickAction”){
@Override
public void actionPerform(Component component) {
buttonPanel.setVisible(true);
sarveyPlanLsdDs.setAllowCommit(true);
actionsPane.setVisible(true);
}
});
If you set a custom ItemClickAction, you need to call the EditAction#actionPerform method by yourself, since ItemClickAction replaces the default EditAction.
Kindly share the sample code
table.setItemClickAction(new BaseAction("tableClickAction") {
@Override
public void actionPerform(Component component) {
buttonPanel.setVisible(true);
sarveyPlanLsdDs.setAllowCommit(true);
actionsPane.setVisible(true);
tableEdit.actionPerform(table);
}
});