0

I have the following situation:

I have a transaction that I want to show all the elements in a panel, when the user tap the element I want to load and show a level of this element in a grid, in the same panel.

The problem is not the tap, I can't even load 2 grids when the panel opens. I've tried almost everything: Attributes, variables, SDTs, DataSelectors... but nothing seems works.

enter image description here

Genexus allow use 2 grids in a panel?

Andrei Hodecker
  • 136
  • 1
  • 8

1 Answers1

1

The best approach is to have the first grid variable based. And the second Grid SDT Based.

The second grid is loaded within the Grid1 Load Event and activated on Grid Selection. This can be accomplished by using the Grid Selected layout feature.

Here you have a step by step

Also, I've uploaded an XPZ with your example. Tested on iOS X Evolution 3.

Gonzalo Gallotti
  • 2,413
  • 3
  • 23
  • 28
  • Thank You! It Worked! I tried this approach but I used a for each inside the load. Changed to data provider and worked like a charm! :) – Andrei Hodecker Oct 24 '14 at 15:32
  • I had another problem, I am not being able to let the inside grid totally open, tried set the inside grid property "autogrow" to true, and let the row outside with 0dip, exactly like your xpz. [Print](http://i.imgur.com/VIVMYWF.png?1) Am I forgetting anything? – Andrei Hodecker Oct 27 '14 at 10:36
  • Actually I'm using Evo. 3 Update 1, testing on Nexus 4 Android 4.1.1. – Andrei Hodecker Oct 27 '14 at 17:22