var tempSearchPanel;var isHidePaging=true;var pageVal=null;var maskForGrid=null;var hight;Ext.Loader.setConfig({enabled:true,disableCaching:false});var f=false;Ext.Loader.setPath("Ext.ux","/final/scripts/ux");Ext.Loader.setPath("utilities","/final/scripts/utilities");var userUrl;var filterParam;var filterByValue="";
var detailComboValue="";var thisApp;var currPageNo=0;var Reftot="";var RefpageVal="";function sortByMeasure(b,c,a){if(b==null||b==undefined||b==""){currOrderByColumn="";currOrderBy="";}else{if(b!=null&&b!=undefined&&b!=""){currOrderByColumn=b;currOrderBy=c;}}if(a!=null&&a!=undefined&&a!=""){currColumndispName=a;
}thisApp.getController("Main").sortByMeasureValues(b,c,a);}function sortByDDMeasure(b,d,a,c){if(b==null||b==undefined||b==""){currOrderByColumn="";currOrderBy="";}else{if(b!=null&&b!=undefined&&b!=""){currOrderByColumn=b;currOrderBy=d;}}if(a!=null&&a!=undefined&&a!=""){currColumndispName=a;}if(c!=null&&c!=undefined&&c!=""){currColumnType=c;
}if(endUserOverviewFlag){isfromuedsort=true;}thisApp.getController("Main").sortByDDMeasureValues(b,d,a,c);}function goToDrillDown(a){if(!Ext.isEmpty(a)&&a!=null&&a!=undefined){document.location=a;}}function goToDetails(a){document.location=a;}function goToPage(a,b){if(a!=null&&a!=undefined&&a<0){a=Math.abs(a);
}if(isNaN(a)||Ext.isEmpty(a)){Ext.Msg.alert("Error","Enter the valid page number");}else{if(a>b){Ext.Msg.alert("Error","Exceeded the maximum page number");}else{currPageNo=a;thisApp.getController("Main").goToPageNo(a);}}}function refreshAfterUpdate(){thisApp.getController("Main").refreshListPage();}Ext.application({name:"endUserDashboard",appFolder:"/final/monitor/eg_scripts/endUserDashboard",controllers:["Main"],requires:["Ext.data.NodeStore","Ext.tree.Panel"],launch:function(){thisApp=this;
thisApp.compRawData="";Ext.create("Ext.container.Viewport",{layout:"fit",id:"endUserDashboardViewPort",name:"endUserDashboardViewPort",items:[{xtype:"main"}]});setInterval(function(){thisApp.getController("Main").refreshListPage();},refFreq);}});function wayToLayerModel(a){Ext.onReady(function(){window.location.href=a;
});}