Jump to: navigation, search

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

< Scout‎ | HowTo‎ | 3.8
Revision as of 09:59, 5 March 2013 by Urs.beeli.sbb.ch (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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();
  }