{
  "aggMode" : "NONE",
  "codeName" : "Usr04087162GridView_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/Book.json"
    }
  },
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Usr04087162GridView_Grid.json",
  "getFetchPSControlAction" : {
    "modelref" : true,
    "id" : "fetch",
    "actionType" : "DEDATASET",
    "name" : "fetch",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    }
  },
  "getGetDraftPSControlAction" : {
    "actionName" : "GetDraft",
    "actionType" : "DEACTION",
    "dataAccessAction" : "CREATE",
    "name" : "loaddraft",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "GetDraft"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    }
  },
  "getGetPSControlAction" : {
    "actionName" : "Get",
    "actionType" : "DEACTION",
    "dataAccessAction" : "READ",
    "name" : "load",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Get"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    }
  },
  "groupMode" : "NONE",
  "hookEventNames" : [ "ONLOADSUCCESS", "ONBEFORELOAD" ],
  "logicName" : "表格脚本_表格",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
  },
  "getPSControlAttributes" : [ {
    "attrName" : "gridname",
    "attrValue" : "'test_name'",
    "name" : "logic9"
  } ],
  "getPSControlLogics" : [ {
    "eventNames" : "onLoadSuccess",
    "logicTag" : "grid",
    "logicType" : "SCRIPT",
    "name" : "logic",
    "scriptCode" : "console.log('表格逻辑，加载成功')\r\n"
  }, {
    "eventNames" : "onBeforeLoad",
    "logicTag" : "grid",
    "logicType" : "SCRIPT",
    "name" : "logic3",
    "scriptCode" : "console.log('这是表格加载之前');\r\nObject.assign(ctrl.state.searchParams, {extraParams: '测试参数'})"
  } ],
  "getPSDEGridColumns" : [ {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "书名称",
    "codeName" : "bookname",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "bookname",
    "excelCaption" : "书名称",
    "name" : "bookname",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    },
    "width" : 150,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "FRONT",
    "caption" : "更新人",
    "codeName" : "updateman",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "updateman",
    "excelCaption" : "更新人",
    "name" : "updateman",
    "noPrivDisplayMode" : 1,
    "getPSAppCodeList" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
    },
    "getPSAppDEField" : {
      "name" : "UPDATEMAN",
      "codeName" : "UpdateMan"
    },
    "width" : 150,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "更新时间",
    "codeName" : "updatedate",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "updatedate",
    "excelCaption" : "更新时间",
    "name" : "updatedate",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    },
    "valueFormat" : "YYYY-MM-DD HH:mm:ss",
    "width" : 150,
    "widthUnit" : "PX",
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "属性",
    "codeName" : "field",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field",
    "excelCaption" : "属性",
    "name" : "field",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "getPSControlAttributes" : [ {
      "attrName" : "show-word-limit",
      "attrValue" : "false",
      "name" : "logic2"
    } ],
    "getPSControlLogics" : [ {
      "itemName" : "field",
      "logicTag" : "grid",
      "logicType" : "SCRIPT",
      "name" : "logic11",
      "scriptCode" : "data.bookname === '言情2'",
      "triggerType" : "ITEMENABLE"
    } ],
    "width" : 100,
    "widthUnit" : "PX",
    "enableRowEdit" : true,
    "enableSort" : true
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "属性9",
    "codeName" : "field9",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field9",
    "excelCaption" : "属性9",
    "name" : "field9",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD9",
      "codeName" : "Field9"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : false
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "属性2",
    "codeName" : "field2",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field2",
    "excelCaption" : "属性2",
    "name" : "field2",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD2",
      "codeName" : "Field2"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : false,
    "getUserParam" : {
      "isAsync" : "false"
    }
  }, {
    "align" : "LEFT",
    "cLConvertMode" : "NONE",
    "caption" : "属性41",
    "codeName" : "field41",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "field41",
    "excelCaption" : "属性41",
    "name" : "field41",
    "noPrivDisplayMode" : 1,
    "getPSAppDEField" : {
      "name" : "FIELD41",
      "codeName" : "Field41"
    },
    "width" : 100,
    "widthUnit" : "PX",
    "enableSort" : false
  } ],
  "getPSDEGridDataItems" : [ {
    "dataType" : 25,
    "name" : "bookname",
    "getPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    }
  }, {
    "dataType" : 25,
    "name" : "updateman",
    "getPSAppDEField" : {
      "name" : "UPDATEMAN",
      "codeName" : "UpdateMan"
    }
  }, {
    "format" : "YYYY-MM-DD HH:mm:ss",
    "dataType" : 5,
    "name" : "updatedate",
    "getPSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    }
  }, {
    "dataType" : 25,
    "name" : "field",
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    }
  }, {
    "dataType" : 21,
    "name" : "field9",
    "getPSAppDEField" : {
      "name" : "FIELD9",
      "codeName" : "Field9"
    },
    "scriptCode" : "console.log('表格列绘制')",
    "customCode" : true
  }, {
    "dataType" : 21,
    "name" : "field2",
    "getPSAppDEField" : {
      "name" : "FIELD2",
      "codeName" : "Field2"
    },
    "scriptCode" : "console.log('表格列绘制 同步')",
    "customCode" : true
  }, {
    "dataType" : 21,
    "name" : "field41",
    "getPSAppDEField" : {
      "name" : "FIELD41",
      "codeName" : "Field41"
    }
  }, {
    "dataType" : 25,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "BOOKID",
      "codeName" : "BookId"
    }
  }, {
    "dataType" : 25,
    "name" : "srfdataaccaction",
    "getPSAppDEField" : {
      "name" : "BOOKID",
      "codeName" : "BookId"
    },
    "dataAccessAction" : true
  }, {
    "dataType" : 25,
    "name" : "phoneid",
    "getPSAppDEField" : {
      "name" : "PHONEID",
      "codeName" : "PhoneId"
    }
  }, {
    "dataType" : 25,
    "name" : "pbookid",
    "getPSAppDEField" : {
      "name" : "PBOOKID",
      "codeName" : "Pbookid"
    }
  }, {
    "dataType" : 25,
    "name" : "srfmajortext",
    "getPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    }
  } ],
  "getPSDEGridEditItemUpdates" : [ {
    "codeName" : "colupdate",
    "name" : "colupdate",
    "getPSDEGEIUpdateDetails" : [ {
      "name" : "field9"
    } ],
    "scriptCode" : "console.log('表格列更新')",
    "customCode" : true
  } ],
  "getPSDEGridEditItems" : [ {
    "caption" : "书名称",
    "codeName" : "bookname",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "bookname",
    "getPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    },
    "getPSEditor" : {
      "editorType" : "TEXTBOX",
      "maxLength" : 200,
      "name" : "bookname"
    },
    "allowEmpty" : true
  }, {
    "caption" : "属性",
    "codeName" : "field",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "field",
    "getPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "getPSDEGridEditItemUpdate" : {
      "modelref" : true,
      "id" : "colupdate"
    },
    "getPSEditor" : {
      "editorParams" : {
        "HEIGHT" : "200"
      },
      "editorType" : "TEXTAREA_10",
      "maxLength" : 2000,
      "name" : "field",
      "showMaxLength" : true
    },
    "allowEmpty" : false
  }, {
    "caption" : "书标识",
    "codeName" : "srfkey",
    "enableCond" : 3,
    "ignoreInput" : 0,
    "name" : "srfkey",
    "getPSAppDEField" : {
      "name" : "BOOKID",
      "codeName" : "BookId"
    },
    "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/Book.json"
    }
  },
  "sortMode" : "REMOTE",
  "getUpdatePSControlAction" : {
    "actionName" : "Update",
    "actionType" : "DEACTION",
    "dataAccessAction" : "UPDATE",
    "name" : "update",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "Update"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.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" : "E6803C36-0A53-499F-89B6-94F4BD458035",
  "modeltype" : "PSDEGRID"
}