{
  "aggMode" : "NONE",
  "codeName" : "RowEditGridView_Grid",
  "columnEnableFilter" : 2,
  "columnEnableLink" : 2,
  "controlType" : "GRID",
  "getCreatePSControlAction" : {
    "actionName" : "Create",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "create",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Create"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSGRIDS/RowEditGridView_Grid.json",
  "getFetchPSControlAction" : {
    "modelref" : true,
    "id" : "fetch",
    "actionType" : "DEDATASET",
    "name" : "fetch",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "getGetDraftPSControlAction" : {
    "actionName" : "GetDraft",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "loaddraft",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "GetDraft"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "getGetPSControlAction" : {
    "actionName" : "Get",
    "actionType" : "DEACTION",
    "dataAccessAction" : "READ",
    "name" : "load",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Get"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "groupMode" : "NONE",
  "logicName" : "行编辑测试_表格",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
  },
  "getPSDEDataImport" : {
    "modelref" : true,
    "id" : "DataImport"
  },
  "getPSDEGridColumns" : [ {
    "align" : "CENTER",
    "cLConvertMode" : "NONE",
    "getCapPSLanguageRes" : {
      "lanResTag" : "DEF.LNAME.TESTNAME"
    },
    "caption" : "测试实体名称",
    "codeName" : "testname",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "testname",
    "excelCaption" : "测试实体名称",
    "name" : "testname",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "TESTNAME",
      "codeName" : "TESTName"
    },
    "width" : 150,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "getCapPSLanguageRes" : {
      "lanResTag" : "DEF.LNAME.TYPE"
    },
    "caption" : "类型",
    "codeName" : "type",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "type",
    "excelCaption" : "类型",
    "name" : "type",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__TestType.json"
    },
    "getPSAppDEField" : {
      "name" : "TYPE",
      "codeName" : "Type"
    },
    "width" : 150,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "CENTER",
    "cLConvertMode" : "NONE",
    "getCapPSLanguageRes" : {
      "lanResTag" : "DEF.LNAME.AMOUNT"
    },
    "caption" : "金额",
    "codeName" : "amount",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "amount",
    "excelCaption" : "金额",
    "name" : "amount",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "AMOUNT",
      "codeName" : "Amount"
    },
    "getPSControlLogics" : [ {
      "itemName" : "amount",
      "logicTag" : "grid",
      "logicType" : "SCRIPT",
      "name" : "rowEnable",
      "scriptCode" : "data.type === 'A'",
      "triggerType" : "ITEMENABLE"
    } ],
    "unitName" : "元",
    "width" : 150,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true,
    "enableUnitName" : true
  }, {
    "align" : "RIGHT",
    "cLConvertMode" : "NONE",
    "getCapPSLanguageRes" : {
      "lanResTag" : "CONTROL.DEGRID.TEST.ROWEDITGRIDVIEW_GRID.DEFGRIDCOLUMN.FIELD"
    },
    "caption" : "开始时间",
    "codeName" : "field",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field",
    "excelCaption" : "开始时间",
    "name" : "field",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "getPSControlAttributes" : [ {
      "attrName" : "placeholder",
      "attrValue" : "\"选择一个当月的日期\"",
      "name" : "field_placeholder"
    } ],
    "getPSControlLogics" : [ {
      "itemName" : "field",
      "logicTag" : "grid",
      "logicType" : "SCRIPT",
      "name" : "rowNull",
      "scriptCode" : "data.type === 'B'",
      "triggerType" : "ITEMBLANK"
    } ],
    "width" : 150,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "getCapPSLanguageRes" : {
      "lanResTag" : "CONTROL.DEGRID.TEST.ROWEDITGRIDVIEW_GRID.DEFGRIDCOLUMN.FIELD2"
    },
    "caption" : "结束时间",
    "codeName" : "field2",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field2",
    "excelCaption" : "结束时间",
    "name" : "field2",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD2",
      "codeName" : "Field2"
    },
    "getPSControlAttributes" : [ {
      "attrName" : "disabledDate",
      "attrValue" : "(time) => {\r\n    console.log('注入属性');\r\n    if (!data.field) {\r\n        return false;\r\n    }\r\n    const field = new Date(data.field).getTime();\r\n    return time.getTime() < field;\r\n}",
      "name" : "field2_disabledDate"
    } ],
    "width" : 100,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  } ],
  "getPSDEGridDataItems" : [ {
    "dataType" : 25,
    "name" : "testname",
    "getPSAppDEField" : {
      "name" : "TESTNAME",
      "codeName" : "TESTName"
    }
  }, {
    "dataType" : 25,
    "name" : "type",
    "getPSAppDEField" : {
      "name" : "TYPE",
      "codeName" : "Type"
    }
  }, {
    "dataType" : 6,
    "name" : "amount",
    "getPSAppDEField" : {
      "name" : "AMOUNT",
      "codeName" : "Amount"
    }
  }, {
    "dataType" : 25,
    "name" : "field",
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    }
  }, {
    "dataType" : 25,
    "name" : "field2",
    "getPSAppDEField" : {
      "name" : "FIELD2",
      "codeName" : "Field2"
    }
  }, {
    "dataType" : 25,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "TESTID",
      "codeName" : "TESTId"
    }
  }, {
    "dataType" : 25,
    "name" : "srfdataaccaction",
    "getPSAppDEField" : {
      "name" : "TESTID",
      "codeName" : "TESTId"
    },
    "dataAccessAction" : true
  }, {
    "dataType" : 25,
    "name" : "srfmajortext",
    "getPSAppDEField" : {
      "name" : "TESTNAME",
      "codeName" : "TESTName"
    }
  } ],
  "getPSDEGridEditItems" : [ {
    "caption" : "类型",
    "codeName" : "type",
    "createDV" : "A",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "type",
    "getPSAppDEField" : {
      "name" : "TYPE",
      "codeName" : "Type"
    },
    "getPSEditor" : {
      "editorType" : "DROPDOWNLIST",
      "name" : "type",
      "getPSAppCodeList" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/Test__TestType.json"
      },
      "singleSelect" : true
    },
    "updateDV" : "B",
    "allowEmpty" : true,
    "needCodeListConfig" : true
  }, {
    "caption" : "金额",
    "codeName" : "amount",
    "createDV" : "100",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "amount",
    "getPSAppDEField" : {
      "name" : "AMOUNT",
      "codeName" : "Amount"
    },
    "getPSEditor" : {
      "editorType" : "TEXTBOX",
      "maxValue" : 10000.0,
      "minValue" : 19.0,
      "name" : "amount",
      "precision" : 2
    },
    "unitName" : "元",
    "updateDV" : "200",
    "allowEmpty" : true,
    "enableUnitName" : true
  }, {
    "caption" : "开始时间",
    "codeName" : "field",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "field",
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "getPSEditor" : {
      "dateTimeFormat" : "YYYY-MM-DD",
      "editorParams" : {
        "TIMEFMT" : "YYYY-MM-DD"
      },
      "editorType" : "DATEPICKEREX_NOTIME",
      "name" : "field"
    },
    "allowEmpty" : true
  }, {
    "caption" : "结束时间",
    "codeName" : "field2",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "field2",
    "getPSAppDEField" : {
      "name" : "FIELD2",
      "codeName" : "Field2"
    },
    "getPSEditor" : {
      "dateTimeFormat" : "YYYY-MM-DD",
      "editorParams" : {
        "TIMEFMT" : "YYYY-MM-DD"
      },
      "editorType" : "DATEPICKEREX_NOTIME",
      "name" : "field2"
    },
    "allowEmpty" : true
  }, {
    "caption" : "测试实体标识",
    "codeName" : "srfkey",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "TESTID",
      "codeName" : "TESTId"
    },
    "getPSEditor" : {
      "editorType" : "HIDDEN",
      "name" : "srfkey"
    },
    "allowEmpty" : true
  } ],
  "pagingMode" : 1,
  "pagingSize" : 20,
  "getRemovePSControlAction" : {
    "actionName" : "Remove",
    "actionType" : "DEACTION",
    "dataAccessAction" : "DELETE",
    "name" : "remove",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Remove"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "sortMode" : "REMOTE",
  "getUpdatePSControlAction" : {
    "actionName" : "Update",
    "actionType" : "DEACTION",
    "dataAccessAction" : "UPDATE",
    "name" : "update",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Update"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
    }
  },
  "hasWFDataItems" : false,
  "enableColFilter" : false,
  "enableCustomized" : true,
  "enableGroup" : false,
  "enablePagingBar" : true,
  "enableRowEdit" : true,
  "enableRowEditOrder" : false,
  "enableRowNew" : true,
  "forceFit" : false,
  "hideHeader" : false,
  "noSort" : false,
  "singleSelect" : false,
  "modelid" : "3ED8E82D-B93C-403C-8A8C-FC016CD6B76B",
  "modeltype" : "PSDEGRID"
}