$((function(){var t=864e5,o=$("#advanced-datebox-from").dxDateBox({value:(new Date).getTime(),displayFormat:"yyyy/MM/dd",stylingMode:"outlined",buttons:[{name:"today",location:"before",options:{text:"\u672c\u65e5",onClick:function(){o.option("value",(new Date).getTime())}}},{name:"prevDate",location:"before",options:{icon:"spinprev",stylingMode:"text",onClick:function(){var e=o.option("value");o.option("value",e-t)}}},{name:"nextDate",location:"after",options:{icon:"spinnext",stylingMode:"text",onClick:function(){var e=o.option("value");o.option("value",e+t)}}},"dropDown"]}).dxDateBox("instance"),e=$("#advanced-datebox-to").dxDateBox({value:(new Date).getTime(),displayFormat:"yyyy/MM/dd",stylingMode:"outlined",buttons:[{name:"today",location:"before",options:{text:"\u672c\u65e5",onClick:function(){e.option("value",(new Date).getTime())}}},{name:"prevDate",location:"before",options:{icon:"spinprev",stylingMode:"text",onClick:function(){var o=e.option("value");e.option("value",o-t)}}},{name:"nextDate",location:"after",options:{icon:"spinnext",stylingMode:"text",onClick:function(){var o=e.option("value");e.option("value",o+t)}}},"dropDown"]}).dxDateBox("instance");$("#btn-icon-search").dxButton({icon:"search",type:"success",text:"\u691c\u7d22",onClick:function(t){DevExpress.ui.notify("Search clicked")}});$("#gridContainer").dxDataGrid({dataSource:customers,allowColumnReordering:!0,allowColumnResizing:!0,showBorders:!0,selection:{mode:"multiple"},export:{enabled:!0,fileName:"\u6765\u5e97\u4e00\u89a7",allowExportSelectedData:!0},items:[{locateInMenu:"always",text:"Save",onClick:function(){DevExpress.ui.notify("Save option has been clicked!")}}],grouping:{autoExpandAll:!0},searchPanel:{visible:!0},paging:{pageSize:10},groupPanel:{visible:!0},columnAutoWidth:!0,showBorders:!0,columnChooser:{enabled:!0},columnFixing:{enabled:!0},columns:[{dataField:"CompanyName",caption:"\u65e5\u6642"},{dataField:"Address",caption:"\u5165\u51fa\u5eab"},{dataField:"Phone",caption:"\u9867\u5ba2\u540d"},{dataField:"City",caption:"\u8eca\u7a2e\u540d"},{dataField:"Fax",caption:"\u767b\u9332\u756a\u53f7"},{dataField:"State",caption:"\u4fdd\u967a\u6e80\u4e86\u65e5"},{dataField:"State",caption:"\u6d3b\u52d5\u533a\u5206"},{dataField:"State",caption:"\u6d3b\u52d5\u7528\u4ef6"},{dataField:"State",caption:"\u62c5\u5f53\u55b6\u696d"},{dataField:"State",caption:"\u4ee3\u8eca"},{dataField:"State",caption:"\u30b5\u30fc\u30d3\u30b9\u540d\u79f0"},{dataField:"State",caption:"\u5165\u51fa\u5eab\u62c5\u5f53"},{dataField:"State",caption:"\u53d7\u4ed8\u5e97\u8217"}],onToolbarPreparing:function(t){t.component;t.toolbarOptions.items.unshift({location:"after",widget:"dxDropDownButton",options:{icon:"print",items:profileSettings,displayExpr:"name",splitButton:!0,dropDownOptions:{width:150},onButtonClick:function(t){},onItemClick:function(t){DevExpress.ui.notify(t.itemData.name,"success",600)}}})},onRowDblClick:function(t){}}).dxDataGrid("instance")}));