You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.8 KiB
83 lines
1.8 KiB
import { useLocalization } from '/@/hooks/abp/useLocalization';
|
|
import { BasicColumn } from '/@/components/Table';
|
|
|
|
const { L } = useLocalization(['AbpTextTemplating']);
|
|
|
|
export function getDataColumns(): BasicColumn[] {
|
|
return [
|
|
{
|
|
title: L('DisplayName:Name'),
|
|
dataIndex: 'name',
|
|
align: 'left',
|
|
width: 100,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
defaultHidden: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:DisplayName'),
|
|
dataIndex: 'displayName',
|
|
align: 'left',
|
|
width: 200,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:IsStatic'),
|
|
dataIndex: 'isStatic',
|
|
align: 'center',
|
|
width: 150,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:IsInlineLocalized'),
|
|
dataIndex: 'isInlineLocalized',
|
|
align: 'center',
|
|
width: 150,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:IsLayout'),
|
|
dataIndex: 'isLayout',
|
|
align: 'center',
|
|
width: 150,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('Layout'),
|
|
dataIndex: 'layout',
|
|
align: 'left',
|
|
width: 200,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:DefaultCultureName'),
|
|
dataIndex: 'defaultCultureName',
|
|
align: 'left',
|
|
width: 200,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
},
|
|
{
|
|
title: L('DisplayName:RenderEngine'),
|
|
dataIndex: 'renderEngine',
|
|
align: 'left',
|
|
width: 150,
|
|
sorter: true,
|
|
ellipsis: true,
|
|
resizable: true,
|
|
defaultHidden: true,
|
|
},
|
|
];
|
|
}
|
|
|