GRIDEIDTOR.vue.ftl 1.1 KB
Newer Older
1 2
<#if editor?? && editor.render??> 
    ${editor.render.code}
3
<#else>
4
<app-file-upload 
5
  :limit="<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>"
6
  :accept="'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'"
7 8
  :formState="viewState" 
  :ignorefieldvaluechange="false" 
9
  @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}" 
10 11 12
  :data="JSON.stringify(row)" 
  :name='column.property' 
  :value="row[column.property]" 
13
  :disabled="getColumnDisabled(row,column.property)" 
14 15
  :rowPreview="true"
  :imageOnly="true"
RedPig97's avatar
RedPig97 committed
16 17
  :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>' 
  :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'
18
  :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'
19
  style="${editor.getEditorCssStyle()}overflow: auto;">
20 21
</app-file-upload>
</#if>