Hi there !

For my first post here, I encounter the following problem :
I've got stats datas to display in a grid, but the stats categories are
dynamic.

For exemple :
Date - Category1 - Category2 - Category 3 - Total
date1 - stat1 - 0 - stat3 - totalDate1
date2 - stat1 - stat2 - 0 - totalDate2

I may have 7 categories for the requested time period, or only 3 for a
different time period.

I created a statBean objet with 3 parameters :
Date date;
Integer total;
List<Integer,Integer> statistics;
statistics contains the categories ids and the associated stat number.

I want to display this object in a grid and add a various number of columns,
depending on how many categories I need.
That's the easy part, however I can't figure out how to tell the grid that
the value has to be retrieved in the 'statistics' parameter of my bean.

I already searched the list for similar problems but only found questions
and no solution :-(

Can someone give me a hand on this ? 


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Grid-dynamically-added-columns-and-values-tp4271429p4271429.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to