{
    "keyColumn": "v_id",
    "detailHeaderColumnPrefix": "Vanity Number: ",
    "detailHeaderColumns": [
        "v_number"
    ],
    "orderBy": {
        "v_appid": "ASC"
    },
    "listColumns": [
        "v_appid",
        "v_number",
        "v_requestedon",
        "v_status"
    ],
    "showColumns": [
        "v_appid",
        "v_number",
        "v_requestedon",
        "v_status"
    ],
    "detailColumns": [
        "v_appid",
        "v_number",
        "v_requestedon",
        "v_status",
        "v_id"
    ],
    "columns": {
        "v_id": {
            "name": "ID",
            "sortable": "true",
            "editoptions": {
                "type": "hidden"
            }
        },
        "v_appid": {
            "name": "Business Account",
            "sortable": "true",
            "external": "true",
            "externalOptions": {
                "externalTable": "tbl_smb_account",
                "externalColumn": "smb_acc_id",
                "externalShowColumn": "smb_name"
            } 
        },
        "v_number": {
            "name": "Vanity Number",
            "sortable": "true",
            "searchable": "true",
            "editoptions": {
                "type": "textbox",
                "label": "Vanity Number",
                "class": "textbox",
                "validations": [
                    "required"
                ]
            }
        },
        "v_requestedon": {
            "name": "Vanity Requested On",
            "sortable": "true",
            "dbFormat": "datetime",
            "displayFormat": "m/d/Y"
        },
        "v_status": {
            "name": "Status",
            "editoptions": {
                "type": "select",
                "source": {
                    "0": "Not Approved",
                    "1": "Approved"
                },
                "source_type": "array",
                "label": "Status",
                "class": "select",
                "enumvalues": {
                    "0": "Not Approved",
                    "1": "Approved"
                }
            }
        }
    },
    "opertations": [
        "view",
        "edit",
        "delete"
    ]
}