跳到主要内容

ui/build/collection-table/data-grid.svelte

ui/build/collection-table/data-grid.svelte

Interfaces

DataGridCellContext

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:2

Type Parameters

Type Parameter
TRow extends object

Properties

row
readonly row: TRow;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:3

value
readonly value: unknown;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:4


DataGridColumn

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:6

Type Parameters

Type Parameter
TRow extends object

Properties

hideable?
readonly optional hideable?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:14

id
readonly id: string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:7

label
readonly label: string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:8

maxWidth?
readonly optional maxWidth?: number;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:11

minWidth?
readonly optional minWidth?: number;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:10

pinnable?
readonly optional pinnable?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:15

render?
readonly optional render?: (context) => unknown;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:17

Parameters
Parameter Type
context DataGridCellContext<TRow>
Returns

unknown

resizable?
readonly optional resizable?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:13

sortable?
readonly optional sortable?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:12

value?
readonly optional value?: (row) => unknown;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:16

Parameters
Parameter Type
row TRow
Returns

unknown

width?
readonly optional width?: number;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:9


DataGridProps

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:19

Type Parameters

Type Parameter
TRow extends object

Properties

bounded?
readonly optional bounded?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:28

class?
readonly optional class?: string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:27

columns
readonly columns: readonly DataGridColumn<TRow>[];

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:22

details?
readonly optional details?: Snippet<[TRow]>;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:30

disabled?
readonly optional disabled?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:26

emptyPlaceholder?
readonly optional emptyPlaceholder?: Snippet<[]>;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:29

error?
readonly optional error?: string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:25

expandedRowIds?
optional expandedRowIds?: string[];

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:33

Controlled disclosure state. Bind this above refreshable data to survive grid remounts.

hasDetails?
readonly optional hasDetails?: (row) => boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:31

Parameters
Parameter Type
row TRow
Returns

boolean

loading?
readonly optional loading?: boolean;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:24

onExpandedRowIdsChange?
readonly optional onExpandedRowIdsChange?: (rowIds) => void;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:34

Parameters
Parameter Type
rowIds string[]
Returns

void

rowId
readonly rowId: (row) => string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:21

Parameters
Parameter Type
row TRow
Returns

string

rows
readonly rows: readonly TRow[];

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:20

view
readonly view: string;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:23

Type Aliases

default

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

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:57

Type Parameters

Type Parameter
TRow extends object

Variables

default

const default: $$IsomorphicComponent;

Defined in: apps/website/.api-docs-entry/ui/build/collection-table/data-grid.svelte.d.ts:57