Re: How to customize the grid to show three s in two rows?

2016-07-05 Thread g kuczera
I ended up using the loop in this way: ${message:title-label} ${message:content-label}

Re: How to customize the grid to show three s in two rows?

2016-06-24 Thread Norman Franke
It’s not meant to, but can. I add a new column for the special row via t:add=“special” or whatever. Then define that column in the grid: Some Content Here I usually use CSS to hide that column, since you’ll end up with an empty column on the end. You can make

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
You should checkout the tapestry source (Grid, GridRows and friends) to see how the output is generated. -- Chris On Wed, Jun 22, 2016 at 12:50 PM, g kuczera wrote: > Thanks for the idea, Chris. I was going to make the table with styled divs > and t:Loop, but much better

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread g kuczera
Thanks for the idea, Chris. I was going to make the table with styled divs and t:Loop, but much better option is to create it with the regular table syntax, but having two rows - just like you mentioned - inside the t:Loop. So you saved me a lot of time. PS: I already have it tested, so the rest

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
So: For each row. The grid is not meant to handle something like that. You can roll your own component(s) to render what you need (using loop etc.) or add an extra cell as a regular grid cell and then use a mixin to manipulate the html of the grid to introduce a new row containing

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread g kuczera
Sorry, the image was not embedded correctly. Here is the link: http://i.imgur.com/OlnNVBn.png (two headers before, three headers after). Now I am examining if it's possible to move the third component down (below the other two) via css styling. 2016-06-22 8:13 GMT+02:00 Chris Poulsen

Re: How to customize the grid to show three s in two rows?

2016-06-22 Thread Chris Poulsen
Your post seems incomplete, so it is not clear to me, what you are trying to do. -- Chris On Wed, Jun 22, 2016 at 8:05 AM, g kuczera wrote: > Currently I got a request to add another visible column to the table (grid > component), but the request was for it to be placed

How to customize the grid to show three s in two rows?

2016-06-22 Thread g kuczera
Currently I got a request to add another visible column to the table (grid component), but the request was for it to be placed below the rest. What do you think the best approach would be in this case? I see three of them: - add the mentioned column in the *include* parameter and after