Hi all,

I have the following situation very often:

1) A datasource with many (> 30) columns
2) Only a few of these columns (for example 8) should be displayed in a grid showing 15-20 rows at the time
3) The rest of the columns should be displayed below this grid

In Oracle Forms this was easy. In Designer i declared the important 8 columns as "context" and the rest of the columns in an "overflow area below".

In Formspider i expected that the context of a datasource was always the same, so i did this:

1) Created one datasource
2) Created a grid referencing this datasource for the important 8 columns
3) Created a few panels to "item group" the rest of the columns

The layout is perfect now. BUT, when i navigate through the rows in the grid, the panels do NOT show the details of the current row in the grid. They always stay on the first record.

So, the context of a datasource is not synchronous accross all panels...

What must i do to show the correct details cq fix this?

Kind regards, Jan Willem Vermeer

asked 29 Sep '15, 04:22

Jan%20Willem%20Vermeer's gravatar image

Jan Willem V...
1231434
accept rate: 0%


Hi Jan,

To achieve this synchronization you can create a "dummy" action (Name=dummy and Procedure=null) and use this action in the selectionChanged event of your grid. This way, Formspider can synchronize all UI components with the current data each time the selected row changes.

<grid ..>
  <events>
    <selectionChanged action="dummy"/>
  </events>
  <column..>
</grid>

Hope this helps,
Ibrahim

link

answered 29 Sep '15, 04:37

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

YES !! This works perfectly Ibrahim. Thanks.

KR JW

link

answered 29 Sep '15, 04:42

Jan%20Willem%20Vermeer's gravatar image

Jan Willem V...
1231434
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×34
×3

Asked: 29 Sep '15, 04:22

Seen: 872 times

Last updated: 29 Sep '15, 04:42


© Copyright Gerger 2017