"use strict";var KTAppsEducationSchoolTeacher={init:function(){var t;t=$("#kt_datatable").KTDatatable({data:{type:"remote",source:{read:{url:HOST_URL+"/api/datatables/demos/default.php"}},pageSize:10,serverPaging:!0,serverFiltering:!0,serverSorting:!0},layout:{scroll:!1,footer:!1},sortable:!0,pagination:!0,columns:[{field:"CompanyName",title:"Student",width:250,template:function(t){var i=KTUtil.getRandomInt(1,10);return'
"}},{field:"FacultyAgent",title:"Faculty",template:function(t){var i="",a=KTUtil.getRandomInt(1,5);return i+=''+t.CompanyName+{1:{title:", BA"},2:{title:", BSc"},3:{title:", PhD"},4:{title:", MS"},5:{title:", MA"}}[a].title+""}},{field:"JoinedDate",title:"Joined",type:"date",width:100,format:"MM/DD/YYYY",template:function(t){var i="";return i+=''+t.ShipDate+"
"}},{field:"Status",title:"Status",autoHide:!1,width:100,template:function(t){var i=KTUtil.getRandomInt(1,3),a={1:{title:"New",class:" label-light-primary"},2:{title:"Active",class:" label-light-danger"},3:{title:"In-active",class:" label-light-info"}};return''+a[i].title+""}},{field:"Actions",title:"Actions",sortable:!1,width:130,overflow:"visible",autoHide:!1,template:function(){return'\t \t \t \t\t\t\t\t\t\t\t\t\t \t \t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t '}}]}),$("#kt_datatable_search_status").on("change",function(){t.search($(this).val().toLowerCase(),"Status")}),$("#kt_datatable_search_type").on("change",function(){t.search($(this).val().toLowerCase(),"Type")})}};jQuery(document).ready(function(){KTAppsEducationSchoolTeacher.init()});