Skip to Content
author's profile photo Former Member
Former Member

Matrix Layout Component in WebDynPro

The example of the matrix layout component in the webdynpro library shows various cells/fields scattered in a rectangle. They create an illusion of randomly-scattered elements with different x- and y-axes, but I'm not sure if they really have coordinates.

Can someone describe the matrix layout - how it works and what it is supposed to show/do??

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2003 at 12:53 PM

    I don't have much experience with the matrix layout myself, but I think I can explain the basic idea:

    If you put child elements into a container, e.g. a TransparentContainer element, which has MatrixLayout, then each child element automatically becomes enclosed in a cell of that matrix and therefore gets some extra properties. Most of those properties are for controlling the placement of the element in the cell (gutter, align, etc.).

    The arrangement of cells in the matrix is not - as you would have guessed - determined by coordinates, but by two simple rules:

    - You set the layoutData property of an element to MatrixHeadData to make the cell containing this element the first cell of a new row.

    - You set the colSpan attribute to extend a cell across several columns in the matrix.

    Hope this helps

    Peter Tillert

    SAP AG

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.