|
|
@ -200,12 +200,12 @@ onUnmounted(() => { |
|
|
|
class="nc-cell w-full h-full relative" |
|
|
|
class="nc-cell w-full h-full relative" |
|
|
|
:class="[ |
|
|
|
:class="[ |
|
|
|
`nc-cell-${(column?.uidt || 'default').toLowerCase()}`, |
|
|
|
`nc-cell-${(column?.uidt || 'default').toLowerCase()}`, |
|
|
|
{ 'text-brand-500': isPrimary(column) && !props.virtual && !isForm }, |
|
|
|
|
|
|
|
{ 'nc-grid-numeric-cell-right': isGrid && isNumericField && !isEditColumnMenu && !isForm && !isExpandedFormOpen }, |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
'text-brand-500': isPrimary(column) && !props.virtual && !isForm, |
|
|
|
|
|
|
|
'nc-grid-numeric-cell-right': isGrid && isNumericField && !isEditColumnMenu && !isForm && !isExpandedFormOpen, |
|
|
|
'h-[40px]': !props.editEnabled && isForm && !isSurveyForm && !isAttachment(column) && !props.virtual, |
|
|
|
'h-[40px]': !props.editEnabled && isForm && !isSurveyForm && !isAttachment(column) && !props.virtual, |
|
|
|
|
|
|
|
'nc-grid-numeric-cell-left': (isForm && isNumericField && isExpandedFormOpen) || isEditColumnMenu, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ 'nc-grid-numeric-cell-left': (isForm && isNumericField && isExpandedFormOpen) || isEditColumnMenu }, |
|
|
|
|
|
|
|
]" |
|
|
|
]" |
|
|
|
@keydown.enter.exact="navigate(NavigateDir.NEXT, $event)" |
|
|
|
@keydown.enter.exact="navigate(NavigateDir.NEXT, $event)" |
|
|
|
@keydown.shift.enter.exact="navigate(NavigateDir.PREV, $event)" |
|
|
|
@keydown.shift.enter.exact="navigate(NavigateDir.PREV, $event)" |
|
|
|