Jump to: navigation, search

Scout/HowTo/3.8/Double click a table row to show a form

< Scout‎ | HowTo‎ | 3.8


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
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.

  1. Select table
  2. In the Scout Object Properties under Operations add the following method execRowAction()
    ExecRowAction.png
  3. Click on the newly added method to show the source code
  4. Execute the edit menu action to show the form
   @Override
  protected void execRowAction(ITableRow row) throws ProcessingException {
    getMenu(EditPersonMenu.class).doAction();
  }