diff options
author | mehekj <mehek.jethani@gmail.com> | 2023-01-28 22:38:41 -0500 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2023-01-28 22:38:41 -0500 |
commit | 9d2af1180f0dd5af5ab86b922cd8b0cdfcf4ea09 (patch) | |
tree | b5ea43352db00566b1338cd8ce4c575c4bd00a6c /src/client/documents/Documents.ts | |
parent | 82de335e0643f907e44cb193c9b2c6da1b3cbaf1 (diff) |
checkpoint: schemarow as documentview functioning
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 1fd07d61d..58e318879 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1150,6 +1150,10 @@ export namespace Docs { return InstanceFromProto(Prototypes.get(DocumentType.DATAVIZ), new CsvField(url), { title: 'Data Viz', ...options }); } + export function SchemaRowDocument(options?: DocumentOptions) { + return InstanceFromProto(Prototypes.get(DocumentType.SCHEMAROW), undefined, { ...(options || {}) }); + } + export function DockDocument(documents: Array<Doc>, config: string, options: DocumentOptions, id?: string) { return InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { freezeChildren: 'remove|add', ...options, viewType: CollectionViewType.Docking, _viewType: CollectionViewType.Docking, dockingConfig: config }, id); } |