blob: ad50e51653121ba844b3fac823334e9386b306c9 (
plain)
1
2
3
4
5
|
import { ColumnType, ColumnModel } from '../../../../framework/src/components/material-table';
export const addColumnLabels = <T>(name: string, title: string, disableFilter = true, disableSorting = true): ColumnModel<T> => {
return { property: name as keyof T, title: title, type: ColumnType.text, disableFilter: disableFilter, disableSorting: disableSorting };
}
|