kor TürkçeGitHub

Sheet

Opens record details alongside the current page.

kor/ui/SheetSource

When to use

  • Keep the list available while the user inspects a record.

Examples

Open and dismiss

Loading the example

<k:Stack align="flex-start">
	<k:Button text="Show details" press=".onOpen"/>
	<k:Sheet id="details" title="Order SO-104">
		<k:Text text="The order is waiting for packing."/>
	</k:Sheet>
</k:Stack>

A footer action

Loading the example

<k:Stack align="flex-start">
	<k:Button text="Review the shipment" press=".onOpen"/>
	<k:Sheet id="details" title="Shipment SH-104" subtitle="North warehouse">
		<k:content><k:Text text="Three pallets are ready for collection."/></k:content>
		<k:footer><k:Button kind="primary" text="Mark as reviewed" press=".onDone"/></k:footer>
	</k:Sheet>
</k:Stack>

API

Properties

NameTypeDefaultDescription
openbooleanfalseWhether the sheet is open
titlestringTitle
subtitlestringSubtitle
widthint480Width in pixels

Aggregations

NameTypeDescription
actionssap.ui.core.Control[]Header actions
contentsap.ui.core.Control[]Panel body
footersap.ui.core.Control[]Footer actions

Events

NameTypeDescription
closeThe sheet was closed

Related

DialogDataGrid