{
"keyColumn": "id",
"wildsearch": "true",
"detailHeaderColumnPrefix": "Merit Report: ",
"handleFile": "true",
"detailHeaderColumns": [
"title"
],
"breadCrumbColumn": "name",
"orderBy": {
"id": "DESC"
},
"listColumns": [
"name",
"merit",
"reason",
"details"

],
"showColumns": [
"name",
"merit",
"reason",
"details",
"emp_id"

],
"detailColumns": [
"name",
"emp_id",
"merit",
"reason",
"details"

],
"columns": {
"id": {
"name": "id",
"editoptions": {
"type": "hidden"
}
},
"emp_id": {
"searchable": "true",
"sortable": "true",
"name": "UserName",
"editoptions": {
"type": "select",
"source": "Cmshelper::employeeList",
"default": "",
"source_type": "function",
"label": "UserName",
"class": "select",
"validations": ["required"]
}
},
"merit": {
"name": "Merit",
"editoptions": {
"type": "textarea",
"label": "Merit",
"class": "text",
"validations": ["required"]
}
},
"name": {
"name": "UserName",
"searchable": "true",
"sortable": "true"
},
"reason": {
"name": "Reason",
"editoptions": {
"type": "textarea",
"label": "Reason",
"class": "textarea",
"validations": ["required"]
}
},
"details": {
"name": "Details",
"editoptions": {
"type": "textarea",
"label": "Details",
"class": "textarea",
"validations": ["required"]
}
}

},
"customActions": {
"afterAddRecord": "Cmshelper::insertEmpId"
},
"opertations": [
"view", "add", "edit", "delete"
],
"operationLabel": {
"viewTitle": "Merit Report"
}
}