[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Grid with foldable details  XML
Forum Index -> Development
Author Message
cfuchs

Active

Joined: 21/01/2013 09:33:01
Messages: 16
Offline

Good evening,

is it possible with CC to realize a grid which has a folderable details section within the grid (see attachment).

Using a toogle icon (similar to a tree), I want to open a detailed section (instead of the next hierarchy of the tree) within the grid. After looking through the demo workplace, the flexile Tree (Grids & Trees -> Grid in Grid -> Flexible Tree) might somehow fit, but I am not sure. I wanted to take a deeper look in the example, however the Layout XML and the server side java code for the example are missing.

Any ideas - thanks in advance?



Best,

Christian


EDIT: Only one details section needs to be displayed at a time.
[Thumb - Grid_with_folderable_details.png]
 Filename Grid_with_folderable_details.png [Disk] Download
 Description Grid with folderable details section
 Filesize 46 Kbytes
 Downloaded:  282 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

at least you can do something which comes quite close to what you showed.

The base is:

in the grid use on GRIDCOL with flexible content below.

Example:
Code:
 FIXGRID
     GRIDCOL
         TREENODE <== this is some fix first column
     GRIDCOL
         PANE <== this is the column with dynamic content
             ROWDYNAMICCONTENT
 


In the ROWDYNAMICCONTENT you now may arrange components individually. So you can build up some kind of column structure within the individual content.

The example in the demo workplace is "demotreeflex.jsp" with "DemoTreeFlex.java" - code and jsp are available in the demo-webapp (sorry, they are not directly referenced...).

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team