Skip to main content

foundation-comms.dataview

Home > @genesislcap/foundation-comms > Dataview

Dataview interface

Dataview object

Signature:

export interface Dataview 

Properties

Property

Modifiers

Type

Description

columnsMetadata?

FieldMetadata[]

(Optional) An array of objects representing the metadata of each column in the dataview.

data

any[]

An array of data objects representing the data in the dataview.

hideSearch?

boolean

(Optional) A boolean indicating whether the search functionality should be hidden in the UI.

update?

(data: DataUpdate) => Promise<void>

(Optional) Function to update the data in the dataview object with an object of optional add, drop, and modify arrays of data.