Interface: CustomComponentTypeProperties
index.CustomComponentTypeProperties
See
Hierarchy #
GenericComponentTypeProperties<unknown>
↳ CustomComponentTypeProperties
Properties #
component #
• component: typeof DataTable
The svelte component class which renders this component.
The component receives these attributes: javascript export let key: string; // name of the column, a key of your data object, for example firstName export let value: any; // value of this column export let item: YourDataClass; // full data for this column export let colProps: ComponentTypeProperties; // properties of this column
See
Defined in #
dataComponent/CustomComponentTypeProperties.ts:24
hidden #
• hidden: boolean
Hides this table column
Inherited from #
GenericComponentTypeProperties.hidden
Defined in #
dataComponent/GenericComponentTypeProperties.ts:20
sortable #
• sortable: boolean
If the values in this column can be sorted by clicking on the table header. Should usually be turned off for columns using a custom component.
Inherited from #
GenericComponentTypeProperties.sortable
Defined in #
dataComponent/GenericComponentTypeProperties.ts:15
type #
• type: CUSTOM
Type of this component/column
Overrides #
GenericComponentTypeProperties.type