Skip to content

DataViewsConfig

Defined in: wp-typia-dataviews/src/index.ts:285

TItem extends object = DataViewsRecord

readonly optional actions?: readonly DataViewsAction<TItem>[]

Defined in: wp-typia-dataviews/src/index.ts:286


readonly data: readonly TItem[]

Defined in: wp-typia-dataviews/src/index.ts:287


readonly optional defaultLayouts?: Readonly<Partial<Record<"grid" | "list" | "table" | "activity" | "pickerTable" | "pickerGrid", Readonly<Record<string, unknown>>>>>

Defined in: wp-typia-dataviews/src/index.ts:288


readonly fields: readonly DataViewsConfigField<TItem>[]

Defined in: wp-typia-dataviews/src/index.ts:289


readonly optional getItemId?: (item) => string

Defined in: wp-typia-dataviews/src/index.ts:290

TItem

string


readonly optional getItemLevel?: (item) => number

Defined in: wp-typia-dataviews/src/index.ts:291

TItem

number


readonly optional isLoading?: boolean

Defined in: wp-typia-dataviews/src/index.ts:292


readonly optional onChangeView?: (view) => void

Defined in: wp-typia-dataviews/src/index.ts:293

DataViewsView<TItem>

void


readonly optional paginationInfo?: DataViewsPaginationInfo

Defined in: wp-typia-dataviews/src/index.ts:294


readonly optional search?: boolean

Defined in: wp-typia-dataviews/src/index.ts:295


readonly optional searchLabel?: string

Defined in: wp-typia-dataviews/src/index.ts:296


readonly optional onChangeSelection?: (selection) => void

Defined in: wp-typia-dataviews/src/index.ts:297

readonly string[]

void


readonly optional selection?: readonly string[]

Defined in: wp-typia-dataviews/src/index.ts:298


readonly view: DataViewsView<TItem>

Defined in: wp-typia-dataviews/src/index.ts:299