|
|
@ -243,6 +243,7 @@ import VirtualHeaderCell from '../components/virtualHeaderCell' |
|
|
|
import colors from '@/mixins/colors' |
|
|
|
import colors from '@/mixins/colors' |
|
|
|
import TableCell from '@/components/project/spreadsheet/components/cell' |
|
|
|
import TableCell from '@/components/project/spreadsheet/components/cell' |
|
|
|
import DynamicStyle from '@/components/dynamicStyle' |
|
|
|
import DynamicStyle from '@/components/dynamicStyle' |
|
|
|
|
|
|
|
import { UITypes } from '~/components/project/spreadsheet/helpers/uiTypes' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'XcGridView', |
|
|
|
name: 'XcGridView', |
|
|
@ -512,12 +513,12 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
enableEditable(column) { |
|
|
|
enableEditable(column) { |
|
|
|
return ((column && column.uidt === 'Attachment') || |
|
|
|
return ((column && column.uidt === UITypes.Attachment) || |
|
|
|
(column && column.uidt === 'SingleSelect') || |
|
|
|
(column && column.uidt === UITypes.SingleSelect) || |
|
|
|
(column && column.uidt === 'MultiSelect') || |
|
|
|
(column && column.uidt === UITypes.MultiSelect) || |
|
|
|
(column && column.uidt === 'DateTime') || |
|
|
|
(column && column.uidt === UITypes.DateTime) || |
|
|
|
(column && column.uidt === 'Date') || |
|
|
|
(column && column.uidt === UITypes.Date) || |
|
|
|
(column && column.uidt === 'Time') || |
|
|
|
(column && column.uidt === UITypes.Time) || |
|
|
|
(this.sqlUi && this.sqlUi.getAbstractType(column) === 'boolean') |
|
|
|
(this.sqlUi && this.sqlUi.getAbstractType(column) === 'boolean') |
|
|
|
) |
|
|
|
) |
|
|
|
}, |
|
|
|
}, |
|
|
|