[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 
Matrix ?  XML
Forum Index -> Development
Author Message
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Hi Captain,

I am assigned with a task that will dynamically build columns for my grid during runtime (Items per Location). And the number of columns to be shown depends on how many locations my application have. Generating the columns is easy BUT since each columns in the FIXGRID requires getters and setters, I find it challenging achieving this task.

Is there any other component that will help me achieve this task ?

Regards, Vincent
CaptainCasa

Power User
[Avatar]

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

Hi,

expressions can bind to...

...set/get-properties
...maps
...lists

So your way is the map way. Please check the Developers' Guide, chapter "Working with Managed Beans => Dynamic Properties".

Regards, Björn

Björn Müller, CaptainCasa GmbH
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

This is great!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team