kor TürkçeGitHub

RecordPage

Lays out a record with a header and sections.

kor/ui/RecordPageSource

When to use

  • Use it as the main page of a business object.

Examples

Order page

Loading the example

<k:RecordPage height="420px" title="Order 4711" subtitle="Deniz Tekstil" state="info" statusText="In production">
	<k:actions><k:Button text="Edit" icon="pencil"/></k:actions>
	<k:summary><k:Details columns="3"><k:Detail label="Total" value="18.400 TRY"/><k:Detail label="Delivery" value="12.12.2026"/></k:Details></k:summary>
	<k:RecordSection key="items" title="Items"><k:Skeleton/></k:RecordSection>
	<k:RecordSection key="docs" title="Documents"><k:List><k:ListItem icon="file-text" title="Contract"/><k:ListItem icon="file-text" title="Drawing"/></k:List></k:RecordSection>
	<k:RecordSection key="log" title="History"><k:Activity><k:ActivityItem person="Ada Yılmaz" text="created the order" time="09:12"/></k:Activity></k:RecordSection>
</k:RecordPage>

API

Properties

NameTypeDefaultDescription
titlestringTitle
subtitlestringSubtitle
statusTextstringStatus text
statestringStatus. Hidden when empty
heightstring100%Height. The page scrolls inside itself

Aggregations

NameTypeDescription
breadcrumbssap.ui.core.Control[]Place for breadcrumbs
actionssap.ui.core.Control[]Header actions
summarysap.ui.core.Control[]Summary below the header
sectionsRecordSection[]Sections

Events

NameTypeDescription
sectionChangekey: stringThe visible section changed

Methods

NameDescription
scrollToSection(key: string): voidScrolls to the section with the given key.

RecordSection

A record page section.

Properties

NameTypeDefaultDescription
keystringKey
titlestringTitle
textstringDescription

Aggregations

NameTypeDescription
contentsap.ui.core.Control[]Content

Related

DetailsBreadcrumbs