kor TürkçeGitHub

ColumnLayout

Shows a list, a record and its detail side by side.

kor/ui/ColumnLayoutSource

When to use

  • Use it when people move quickly between records.

Examples

Open a record

Loading the example

<k:ColumnLayout columns="{/columns}" height="300px" listWidth="260">
	<k:list><k:List press=".onOpen"><k:ListItem key="1" title="Deniz Tekstil"/><k:ListItem key="2" title="Atlas Lojistik"/></k:List></k:list>
	<k:record><k:Details columns="2"><k:Detail label="Order" value="4711"/><k:Detail label="Total" value="18.400 TRY"/></k:Details></k:record>
</k:ColumnLayout>

API

Properties

NameTypeDefaultDescription
columnsint1Number of open columns, 1 to 3
fullbooleanfalseWhether the last column takes all the space
heightstring100%Height
listWidthint340List width in pixels
navigationbooleantrueWhether to show back, expand and close buttons

Aggregations

NameTypeDescription
listsap.ui.core.Control[]First column
recordsap.ui.core.Control[]Second column
detailsap.ui.core.Control[]Third column

Events

NameTypeDescription
closecolumns: intThe last column is closing. preventDefault stops it

Related

SplitterRecordPage