{{>@macro/front-end/editors/include-editor.hbs}}
{{#if (eq item.columnType 'GROUPGRIDCOLUMN')}}
  {{#each item.psDEGridColumns as | column |}}
{{>(lookup 'COLUMN') item=column ctrl=ctrl}}
  {{/each}}
{{else}}
  {{#unless (or item.hideDefault item.hiddenDataItem)}}
<div v-if="Object.is(column.dataIndex, '{{#if item.dataItemName}}{{lowerCase item.dataItemName}}{{else}}{{item.codeName}}{{/if}}')" class="table-cell">
  {{#if (eq item.columnType 'DEFGRIDCOLUMN')}}
    {{#if item.enableRowEdit}}
  <div v-if="state.rowEditState" class="editor-cell">
      <AppFormItem
        name="{{item.codeName}}"
        :error="state.gridEditState.{{item.codeName}}?.[index]?.message"
        :rules="state.rules.{{item.codeName}}"
      >
    {{#each ctrl.psDEGridEditItems as | editColumn | }}
    {{#if (eq editColumn.codeName item.codeName)}}
    {{>(lookup . 'editColumn.psEditor.editorType') item=editColumn ctrlType="grid"}}
    {{/if}}
    {{/each}}
    </AppFormItem>
  </div>
  <div v-else class="text-cell">
    <span class="text">\{{text}}</span>
  </div>
    {{else}}
  <div class="text-cell">
    <span class="text">\{{text}}</span>
  </div>
    {{/if}}
  {{else if (eq item.columnType 'UAGRIDCOLUMN')}}
  <AppToolbar
    mode="link"
    name="{{lowerCase item.codeName}}"
    :actionModel="record.{{lowerCase item.codeName}}"
    @onToolbarEvent="onToolbarEvent($event, record)"/>
  {{/if}}
</div>
  {{/unless}}
{{/if}}
