Search code examples
smart-devicegenexus

Can I use multi-level Grid in GeneXus SmartDevice?


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?


Solution

  • 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.