$((function(){DevExpress.setTemplateEngine("underscore");$("#tabpanel-container").dxTabPanel({dataSource:tabPanelItems,selectedIndex:0,loop:!1,animationEnabled:!0,swipeEnabled:!1,itemTitleTemplate:function(e,n){return"<span>"+e.tabname+"</span>"},itemTemplate:function(e,n){var t=$("<div>").addClass(e.class);return"create"===e.class?$(t).load("create"):"edit"===e.class?$(t).load("edit"):"hotlist"===e.class?$(t).load("getlist"):void 0},onSelectionChanged:function(e){$(".selected-index").text(e.component.option("selectedIndex")+1)}}).dxTabPanel("instance")}));