gantri-components 2.83.0-beta.3 → 2.83.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,12 +101,6 @@ export interface CustomTableMeta<TData extends RowData> {
|
|
|
101
101
|
onColumnsConfigChange?: (config: ColumnConfig[]) => Promise<void>;
|
|
102
102
|
}
|
|
103
103
|
export interface CustomColumnMeta<TData extends RowData, TValue> {
|
|
104
|
-
/** Can be used to map over the columns and generate download data for a CSV. */
|
|
105
|
-
download: {
|
|
106
|
-
getValue: (data: TData) => string | number;
|
|
107
|
-
header: string;
|
|
108
|
-
key: string;
|
|
109
|
-
};
|
|
110
104
|
/** If the function returns true, enables clickable td styling. */
|
|
111
105
|
getIsClickable?: (cell: Cell<TData, TValue>) => boolean;
|
|
112
106
|
/** If a function is returned, it will be passed to the td element and automatically enable clickable td styling. */
|