Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Table with dynamic number of columns
Table with dynamic number of columns [message #889307] Tue, 19 June 2012 01:34 Go to previous message
Patrick Bänziger is currently offline Patrick Bänziger
Messages: 19
Registered: September 2011
Junior Member
Hello everyone

In my application, I need to create a form describing a set of „changes". Usually those are describe in a „Name-Value" like style.
Until now, I used a table with a single column (String column with HTML) to describe the changes, using multiline-cells. Something like this:



Event name: Birthday party
Location: Grand Central Park
Duration: 180 minutes


Event name: Funeral
Location: Grand Central Cemetery
Duration: 60 minutes




Now the question came up whether we could transform this into a horizontal form (i.e. a table with more than one column).

While one set of changes would have the same number of columns, another set may have a larger (or smaller) number of columns.
Until now, I just had a fixed number of columns or made as many columns as one might need (and just hide the ones that are not necessary).

But in general (or for an unknown number of columns, is it possible in Scout to tell a table at runtime to create N columns which we can then fill?

Thanks!
 
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic:migrate from 3.7 to 3.8
Next Topic:Provide Service Config Properties from Plug-in
Goto Forum:
  


Current Time: Wed May 22 01:22:50 EDT 2013

Powered by FUDForum. Page generated in 0.12681 seconds