Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » TablePage - programaticaly show or hide DetailForm
TablePage - programaticaly show or hide DetailForm [message #1744306] Sat, 24 September 2016 16:35 Go to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
I try to define a TablePage with an SearchForm and a DetailForm.

The behaviour I would like to achieve is:
a) when selecting the Page in the Outline, the SearchForm opens
b) using the Search button, the Table is filled with the filtered rows
-> so far no problem

c) when double clicking on a row or using "Navigation-Up" button, the Detail form is displayed (within the same window as the table was shown)

I tried several things, but I do not find a solution which works more than one time with the double click (detail) event.

actually I try
@Override
protected boolean getConfiguredDetailFormVisible() {
return false; // is set to true, DetailForm would be shown on page activation
}

@Override
protected void execRowAction(ITableRow row) {
setDetailFormVisible(true); // works on only first double click
}
using this approach the double click / detail works only once, and the navigation up button changes it's behaviour on the table: before the first double click before it navigates to the Outline, after the first double click it navigates to the Detail Form.

Is the any model method I can use, to actively define, whether I want to show the table rows or the detail form?

-Rene
Re: TablePage - programaticaly show or hide DetailForm [message #1744308 is a reply to message #1744306] Sat, 24 September 2016 16:55 Go to previous message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
additional question: is there any model event triggered when pressing the navigation up and down buttons or is this totally handled in java script?
Previous Topic:run scout with eclipse che
Next Topic:Empty row in smartfield
Goto Forum:
  


Current Time: Thu Apr 25 12:05:02 GMT 2024

Powered by FUDForum. Page generated in 0.03423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top