Scout/HowTo/3.8/Double click a table row to show a form
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
This how-to describes how to add a double click action to a table row.
Steps
The Minicrm tutorial showed how to add menus to a table to edit existing entries. This how-to describes how a double click on a table row can be used to do the same.
- Select table
- In the Scout Object Properties under Operations add the following method execRowAction()
- Click on the newly added method to show the source code
- Execute the edit menu action to show the form
@Override protected void execRowAction(ITableRow row) throws ProcessingException { getMenu(EditPersonMenu.class).doAction(); }