Skip to Content
avatar image
Former Member

RowRepeater to repeat columns, not rows

Simple question here, I'd like to use a RowRepeater (or similar) to repeat elements (such as a Tray) in a column format, not as rows. I've tried various configurations such as setting the RowRepeater parent to ColumnLayout or FlowLayout, but the result is that my Trays are always layed out as rows.

Any way to get them layed out as columns in a single row, other than programmatic UI element manipulation?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 31, 2008 at 03:26 AM

    Hi,

    As the name suggests Row repeater will not repeat in columns

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 31, 2008 at 09:24 AM

    As already said, the RowRepeater only allows iteration row-wise. Can you tell a little bit more about the use-case? Maybe using a component for the iterated parts might be a solution.

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I'd like to display Tray elements horizontally in a column layout. The context has a 0...n cardinality node, and for each element I need to display a Tray.

      I know this can be done programmatically by creating Tray view components and adding them to a container with a column or flow layout. However, I'd prefer to use a declarative approach if possible in order to avoid writing somewhat tedious view and binding specific code.

      Thanks.