{{#unless (or item.hideDefault item.hiddenDataItem)}}
{
  title: "{{item.caption}}",
  columnType: "{{item.columnType}}",
  {{#if item.align}}
  align: "{{lowerCase item.align}}",
  {{/if}}
  {{#if (eq item.widthUnit 'PX')}}
  width: {{item.width}},
  {{else if (gt item.width 1)}}
  minWidth: {{item.width}},
  {{/if}}
  resizable: true,
  {{#if (and item.enableLinkView item.linkPSAppView)}}
  linkView: "{{item.linkPSAppView.codeName}}",
  linkValueItem: "{{item.linkValueItem}}",
  {{/if}}
  {{#eq item.columnType 'GROUPGRIDCOLUMN'}}
  children: [
    {{#each item.psDEGridColumns as | column |}}
    {{> @macro/front-end/widgets/grid-detail/include-grid.hbs type="COLUMNMODEL" item=column}}
    {{/each}}
  ],
  {{else}}
  {{#eq item.columnType 'UAGRIDCOLUMN'}}
  fixed: "right",
  {{/eq}}
  dataIndex: "{{#if item.dataItemName}}{{lowerCase item.dataItemName}}{{else}}{{lowerCase item.codeName}}{{/if}}",
  ellipsis: true,
  enableSort: {{item.enableSort}},
  {{#if item.aggMode}}
  aggMode: "{{item.aggMode}}",
  {{/if}}
  {{/eq}}
  {{#if item.enableRowEdit}}
{{#each ctrl.psDEGridEditItems as | editColumn | }}
  {{#if (eq editColumn.codeName item.codeName)}}
    {{#if editColumn.resetItemName}}
  resetItemName: "{{editColumn.resetItemName}}",
    {{/if}}
    {{#if editColumn.valueItemName}}
  valueItemName: "{{editColumn.valueItemName}}",
    {{/if}}
    {{!-- TODO编辑项模型存在问题 --}}
    {{!-- {{#if editColumn.psDEGridEditItemUpdate}}
      {{#with editColumn.psDEGridEditItemUpdate as | updateItem |}}
  updateItem: {
    name: "{{updateItem.name}}",
    codeName: "{{updateItem.codeName}}",
        {{#if updateItem.customCode}}
    customCode: {{updateItem.customCode}},
    scriptCode: `{{updateItem.scriptCode}}`,
        {{else}}
    showBusyIndicator: {{updateItem.showBusyIndicator}},
    appDEMethod: "{{updateItem.psAppDEMethod.codeName}}",
    updateDetails: [{{#each updateItem.psDEGEIUpdateDetails as | updateDetails | }}"{{updateDetails.name}}",{{/each}}],
        {{/if}}
  },
      {{/with}}
    {{/if}} --}}
  {{/if}}
{{/each}}
  {{/if}}
},
{{/unless}}
