{
    "type": "Ext.panel.Panel",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "autoRender": true,
        "bodyBorder": false,
        "border": false,
        "designer|initialView": true,
        "designer|userAlias": "mcreppanel",
        "designer|userClassName": "MCReportsPanel",
        "height": 632,
        "itemId": "umReportsPanel",
        "layout": "fit",
        "minHeight": 450,
        "title": "Reports",
        "width": null
    },
    "designerId": "c104fdc5-aa5b-464f-9b0b-128ea150df93",
    "cn": [
        {
            "type": "Ext.container.Container",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "container|align": "stretch",
                "container|padding": "3 10 0 10",
                "designer|createAlias": null,
                "designer|displayName": null,
                "layout": "hbox"
            },
            "designerId": "627f3f14-2614-46ff-bd53-44ae74e9271b",
            "cn": [
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "container|align": "stretch",
                        "layout": "vbox",
                        "layout|flex": 3,
                        "margin": "0 5"
                    },
                    "designerId": "467c0acc-2025-43f6-a47b-24e10f615f9c",
                    "cn": [
                        {
                            "type": "Ext.form.FieldSet",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "container|align": "stretch",
                                "height": null,
                                "layout": "vbox",
                                "layout|flex": 1,
                                "maxHeight": null,
                                "minHeight": null,
                                "title": "Controls"
                            },
                            "designerId": "e0485306-5079-45e2-856c-6fb960ea4da5",
                            "cn": [
                                {
                                    "type": "Ext.grid.Panel",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "autoScroll": true,
                                        "bodyBorder": false,
                                        "border": false,
                                        "height": null,
                                        "itemId": "controlGrid",
                                        "layout|flex": 1,
                                        "maxHeight": null,
                                        "store": "control",
                                        "title": null
                                    },
                                    "designerId": "e8eb30c7-a445-4526-9db0-7e5429875a2f",
                                    "cn": [
                                        {
                                            "type": "Ext.grid.View",
                                            "reference": {
                                                "name": "viewConfig",
                                                "type": "object"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "itemId": "controlsGridView"
                                            },
                                            "designerId": "0dd8acda-35bd-4c4a-bc0b-76e16f686c26"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "align": "right",
                                                "cls": "setLeft",
                                                "dataIndex": "id",
                                                "text": "ID",
                                                "width": 50
                                            },
                                            "designerId": "2db6cb67-fc55-4b03-b5f8-70de29f30873"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "dataIndex": "name",
                                                "flex": 2,
                                                "text": "Name"
                                            },
                                            "designerId": "77925a81-cbbf-497e-a62d-a6d4dc577930"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "dataIndex": "group_name",
                                                "flex": 1,
                                                "text": "Group"
                                            },
                                            "designerId": "bbd0553d-3141-431d-9059-2e6fdb8ed5b1"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "dataIndex": "executer",
                                                "flex": null,
                                                "text": "Executer"
                                            },
                                            "designerId": "118a58eb-74f9-426c-a142-b84802a17401"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "dataIndex": "owner",
                                                "flex": null,
                                                "text": "Approver"
                                            },
                                            "designerId": "226c5b9b-b987-4c4b-a03d-199eb00622b6"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "dataIndex": "created_by",
                                                "flex": null,
                                                "text": "Created by"
                                            },
                                            "designerId": "5363dbbb-6d06-49b3-b92d-94e4a5b78478"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "align": "center",
                                                "cls": "setLeft",
                                                "dataIndex": "active",
                                                "text": "Active",
                                                "width": 50
                                            },
                                            "designerId": "b1b9e157-bcb0-47ba-a325-d229c912b50b",
                                            "cn": [
                                                {
                                                    "type": "fixedfunction",
                                                    "reference": {
                                                        "name": "items",
                                                        "type": "array"
                                                    },
                                                    "codeClass": null,
                                                    "userConfig": {
                                                        "designer|params": [
                                                            "value",
                                                            "metaData",
                                                            "record",
                                                            "rowIndex",
                                                            "colIndex",
                                                            "store",
                                                            "view"
                                                        ],
                                                        "fn": "renderer",
                                                        "implHandler": [
                                                            "Image = '';\r",
                                                            "if(value==1){\r",
                                                            "\tvar Image = '<a><img src=\"../../gfx/check.png\" data-qtip=\"Active\" border=\"0\"/></a>';\r",
                                                            "}\r",
                                                            "return Image;"
                                                        ]
                                                    },
                                                    "designerId": "5cd410e4-bbf4-4420-9e27-ebeadac044cd"
                                                }
                                            ]
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "align": "right",
                                                "cls": "setLeft",
                                                "dataIndex": "controls",
                                                "text": "Controls",
                                                "width": 50
                                            },
                                            "designerId": "34106774-a0fc-457f-a20a-e915b1ea261e"
                                        },
                                        {
                                            "type": "Ext.grid.column.Column",
                                            "reference": {
                                                "name": "columns",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "align": "right",
                                                "cls": "setLeft",
                                                "dataIndex": "done",
                                                "text": "Done",
                                                "width": 50
                                            },
                                            "designerId": "19dee2f6-1a3b-4132-92f9-b8990f97b6d9"
                                        }
                                    ]
                                },
                                {
                                    "type": "Ext.toolbar.Toolbar",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "border": false
                                    },
                                    "designerId": "caed482e-f0b0-4e2c-9871-2e607cb94eed",
                                    "cn": [
                                        {
                                            "type": "Ext.toolbar.Spacer",
                                            "reference": {
                                                "name": "items",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "layout|flex": 1,
                                                "width": 10
                                            },
                                            "designerId": "54d1def7-6f9e-418f-8f53-9891930c6eba"
                                        },
                                        {
                                            "type": "Ext.form.field.Trigger",
                                            "reference": {
                                                "name": "items",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "fieldLabel": "Search",
                                                "itemId": "controlSearchTriggerField",
                                                "labelAlign": "right",
                                                "labelSeparator": " ",
                                                "labelWidth": 50,
                                                "layout|flex": 2,
                                                "triggerCls": "x-form-search-trigger"
                                            },
                                            "designerId": "69ccce85-cfde-441e-a024-919c1dcca7df"
                                        },
                                        {
                                            "type": "Ext.toolbar.Spacer",
                                            "reference": {
                                                "name": "items",
                                                "type": "array"
                                            },
                                            "codeClass": null,
                                            "userConfig": {
                                                "layout|flex": 1,
                                                "width": 10
                                            },
                                            "designerId": "07f1d28a-159a-4e5b-93ec-97e2ff5de7e6"
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.FieldSet",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "container|align": "stretch",
                                "container|padding": "0 0 5 0",
                                "height": null,
                                "layout": "hbox",
                                "title": "Actions"
                            },
                            "designerId": "8a7363e3-6ad2-43b0-b85b-19e146c2b383",
                            "cn": [
                                {
                                    "type": "Ext.button.Button",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "disabled": true,
                                        "icon": "../../gfx/filetypes/pdf.png",
                                        "itemId": "downloadDefinitionBtn",
                                        "scale": "medium",
                                        "text": "Download definition as PDF"
                                    },
                                    "designerId": "73cec77a-0fe6-422d-8ddb-fd85cdf46466"
                                },
                                {
                                    "type": "Ext.toolbar.Spacer",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "layout|flex": null,
                                        "width": 10
                                    },
                                    "designerId": "013aa334-9f61-4e80-9ef5-9d650ec2b8ed"
                                },
                                {
                                    "type": "Ext.button.Button",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "disabled": true,
                                        "icon": "../../gfx/filetypes/pdf.png",
                                        "itemId": "downloadControlBtn",
                                        "scale": "medium",
                                        "text": "Download controls as PDF"
                                    },
                                    "designerId": "8c970df4-e7ae-4d2f-bd7e-119ec51b5009"
                                },
                                {
                                    "type": "Ext.toolbar.Spacer",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "layout|flex": null,
                                        "width": 10
                                    },
                                    "designerId": "10f2e721-9866-438c-92f6-6fbe65a39f9b"
                                },
                                {
                                    "type": "Ext.button.Button",
                                    "reference": {
                                        "name": "items",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "icon": "../../gfx/filetypes/xlsx.png",
                                        "itemId": "downloadControlxlsxBtn",
                                        "layout|flex": null,
                                        "scale": "medium",
                                        "text": "Download all as excel"
                                    },
                                    "designerId": "922fb8e7-2772-4d39-b7ea-4ba1a36f17d5"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "Ext.resizer.Splitter",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "designerId": "b2e7d5bf-a5ec-41f8-93ca-2d461d5441dc"
                },
                {
                    "type": "Ext.form.FieldSet",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoScroll": null,
                        "height": 500,
                        "itemId": "detailsContainer",
                        "layout": "fit",
                        "layout|flex": 1,
                        "maxHeight": null,
                        "padding": "0 0 0 10",
                        "title": "Details"
                    },
                    "designerId": "e835a100-d3c7-46ba-8331-b5f27441c08e"
                }
            ]
        }
    ]
}