跳到主要内容

ui/build/data-renderer/matrix/matrix.renderer.svelte

ui/build/data-renderer/matrix/matrix.renderer.svelte

Interfaces

MatrixCellRendererProps

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:7

Type Parameters

Type Parameter Default type
TRow extends MatrixRow MatrixRow

Properties

disabled
disabled: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:11

field
field: CollectionField;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:10

onRowChange
onRowChange: (patch) => void;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:13

Parameters
Parameter Type
patch Record<string, unknown>
Returns

void

onValueChange
onValueChange: (value) => void;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:12

Parameters
Parameter Type
value unknown
Returns

void

row
row: TRow;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:8

value
value: unknown;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:9


MatrixColumn

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:15

Type Parameters

Type Parameter
TRow extends MatrixRow

Properties

field
field: CollectionField;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:18

key
key: Extract<keyof TRow>;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:16

label
label: string;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:17

placeholder?
optional placeholder?: string;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:19

readOnly?
optional readOnly?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:22

Render this value as immutable display content inside an otherwise editable matrix.

relationOptions?
optional relationOptions?: CollectionRelationOptions<CollectionRecord>;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:20

renderer?
optional renderer?: Component<MatrixCellRendererProps<TRow>, {
}, string>;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:24

Specialized cell content for references that cannot be represented by one scalar field.

width?
optional width?: number;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:25


MatrixRow

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:3

Properties

id?
readonly optional id?: string;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:4


MatrixRowActionProps

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:27

Type Parameters

Type Parameter Default type
TRow extends MatrixRow MatrixRow

Properties

disabled
disabled: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:32

Whole matrix is disabled (e.g. form readonly / saving).

hovered
hovered: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:30

index
index: number;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:29

row
row: TRow;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:28

rowDisabled
rowDisabled: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:34

This row’s datatype cells are non-editable via isRowDisabled.

Type Aliases

default

type default<TRow> = InstanceType<typeof default>;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:86

Type Parameters

Type Parameter
TRow extends MatrixRow

MatrixRendererProps

type MatrixRendererProps<TRow> = MatrixRendererBaseProps<TRow> & MatrixRendererAddRowsProps<TRow>;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:64

Type Parameters

Type Parameter
TRow extends MatrixRow

Variables

default

const default: $$IsomorphicComponent;

Defined in: apps/website/.api-docs-entry/ui/build/data-renderer/matrix/matrix.renderer.svelte.d.ts:86