$((function(){$("#list-menu").dxList({dataSource:menus,height:"100%",itemTemplate:function(a,e){var t=$("<div>").addClass("menus");return $("<i>").attr("class",a.icon).appendTo(t),$("<span>").text(a.text).appendTo(t),t}}).dxList("instance"),$("#message").dxDataGrid({dataSource:messages,allowColumnReordering:!0,showBorders:!0,grouping:{autoExpandAll:!0},searchPanel:{visible:!0},paging:{pageSize:10},groupPanel:{visible:!0},columns:[{dataField:"status",caption:_globals.language.status,Lookup:{dataSource:status,valueExpr:"id",displayExpr:"name"}},{dataField:"phone",caption:_globals.language.mobile},{dataField:"email",caption:_globals.language.email},{dataField:"content",caption:_globals.language.content},{dataField:"type",caption:_globals.language.type,Lookup:{dataSource:types,valueExpr:"id",displayExpr:"name"}},{dataField:"customerID",groupIndex:0}]}).dxDataGrid("instance")}));