Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let colNames = ['ID', 'Image', 'Title', 'Description', 'Status'];
- let colModel = [
- {name: 'id', index: 'id', width: 30, editable: true, editoptions: {size: "30", maxlength: "50"}},
- {
- name: 'image',
- index: 'image',
- align: 'left',
- editable: true,
- edittype: 'file',
- editoptions: {
- enctype: "multipart/form-data"
- },
- width: 210,
- align: 'center',
- search: false
- },
- {name: 'image_title', index: 'image_title', width: 150, editable: true, editoptions: {size: "30", maxlength: "50"}},
- {name: 'image_description', index: 'image_description', width: 150, editable: true, editoptions: {size: "30", maxlength: "50"}},
- {name: 'status', index: 'status', edittype: 'select', formatter: 'select', width: 150, editable: true, editoptions: status_values}
- ];
- $oper = $request->input('oper');
- $image = $request->file('image')->getClientOriginalExtension();
- $image_title = $request->input('image_title');
- $image_description = $request->input('image_description');
- $status = $request->input('status');
Add Comment
Please, Sign In to add comment