kor TürkçeGitHub

Details

Shows the fields of a record as labels and values.

kor/ui/DetailsSource

When to use

  • Use it for read only record data.

Examples

Order details

Loading the example

<k:Details columns="3">
	<k:Detail label="Order" value="4500012345" copyable="true"/>
	<k:Detail label="Customer" value="Deniz Tekstil"/>
	<k:Detail label="Status"><k:Status text="Released" state="success"/></k:Detail>
	<k:Detail label="Address" value="Organize Sanayi Bölgesi 12, Bursa" icon="map-pin" wide="true"/>
</k:Details>

API

Properties

NameTypeDefaultDescription
columnsint3Maximum columns. Fewer are used when space is short
inlinebooleanfalseWhether the label sits beside the value

Aggregations

NameTypeDescription
itemsDetail[]Fields

Detail

A detail field.

Properties

NameTypeDefaultDescription
labelstringLabel
valuestringValue
iconstringLeading icon
copyablebooleanfalseWhether to show a copy button
widebooleanfalseWhether the field spans the whole row

Aggregations

NameTypeDescription
contentsap.ui.core.ControlA control shown instead of the value

Related

FormRecordPage