Class 

sap.ui.commons.layout.MatrixLayout


About

A matrix layout arranges controls in a grid structure, using rows which need not have the same number of cells.


It uses predefined cell classes that guarantee appropriate distances between cells in the grid. The cell's vGutter property lets you specify additional horizontal distances easily. You can set these additional distances (known as gutters) with or without separators. The distance for each cell is specified by assigning a specific enumeration value of the classLayoutCellSeparator of the matrix data object.


You should avoid nesting matrix layouts. You should only use a matrix layout if you need to align controls horizontally across rows.


Note: Use always a MatrixLayoutRow or MatrixLayoutCell as child to add other elements to the matrix layout


Use








Preview




Reference


API


Testsuite