MCPcopy
hub / github.com/plotly/dash / Column

Class Column

components/dash-table/src/dash-table/components/Table/props.ts:101–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101export class Column implements IBaseColumn {
102 clearable?: boolean | boolean[] | 'first' | 'last' | undefined;
103 deletable?: boolean | boolean[] | 'first' | 'last' | undefined;
104 editable = false;
105 filter_options!: IFilterOptions;
106 hideable?: boolean | boolean[] | 'first' | 'last' | undefined;
107 renamable?: boolean | boolean[] | 'first' | 'last' | undefined;
108 selectable?: boolean | boolean[] | 'first' | 'last' | undefined;
109 sort_as_null: SortAsNull = [];
110 id!: string;
111 name: string | string[] = [];
112
113 constructor(initialValues: any) {
114 if (Object.keys(initialValues).includes('name'))
115 this.name = initialValues.name;
116 if (Object.keys(initialValues).includes('id'))
117 this.id = initialValues.id;
118 }
119}
120
121export type ColumnId = string;
122export type Columns = IColumn[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…