{
	"keyColumn": "document_id",
	"wildsearch": "true",
	"detailHeaderColumnPrefix": "Document: ",
	"handleFile": "true",
	"detailHeaderColumns": [
		"document_id"
	],
	"breadCrumbColumn": "document_id",
	"orderBy": {
		"document_id": "DESC"
	},
	"listColumns": [
		"document_name",
		"document_image"

	],
	"showColumns": [
		"document_name",
		"document_image"
	],
	"detailColumns": [
		"document_name",
		"document_image"
	],
	"columns": {
		"document_name": {
			"name": "Document Name",
			"searchable": "true",
			"sortable": "true",
			"editoptions": {
				"type": "textbox",
				"label": "Document name",
				"class": "textbox",
				"hint": "Document name",
				"validations": [
					"required"
				]
			}
		},
		"document_image": {
			"name": "Document",
			"external": "true",
			"externalOptions": {
				"externalTable": "tbl_files",
				"externalColumn": "file_id",
				"externalShowColumn": "file_id"
			},
			"editoptions": {
				"type": "file",
				"label": "Upload document",
				"class": "file"
			}
		}
	},

	"opertations": [

		"view"
	],
	"operationLabel": {

		"viewTitle": "View Document"

	}
}