Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery.sap.require("FactSheets.custom.StandardTileInfo");
- sap.ui.jsview("FactSheets.views.VersioningRoots.BP.footprint",
- {
- getControllerName : function()
- {
- return "FactSheets.controllers.VersioningRoots.BP.footprint";
- },
- createContent : function(oController)
- {
- var displayFragment = new sap.m.Panel("DisplayTimeFrame_PackObjectDetailsss",{});
- var oPage = new sap.m.Page({
- title: "hai valica ca poti"
- });
- var oContainer = new sap.m.SplitContainer({
- id: this.createId("splitContainer"),
- initialDetail: 'detail',
- initialMaster: 'master',
- detailPages:[
- new sap.m.Page({
- id: this.createId("detail"),
- title: 'Select Dimentions & Measures',
- content:[
- // new sap.m.Button({
- // text: "DETAIL DETAIL DETAIL",
- // press: [oController.buttonPress, this]
- // }),
- new sap.m.RadioButtonGroup({
- id:this.createId("radioButtonGroup"),
- columns: 3,
- width: '100%',
- class: "sapUiMediumMarginBottom",
- select: [oController.onRadioButtonSelect, this],
- buttons:[
- new sap.m.RadioButton({
- text: 'include one Sublevel'
- }),
- new sap.m.RadioButton({
- text: 'show Measurement Objects'
- }),
- new sap.m.RadioButton({
- text: 'compare with total'
- }),
- new sap.m.RadioButton({
- text: 'include 2 Sublevels'
- }),
- new sap.m.RadioButton({
- text: 'show Traffic(average)'
- }),
- new sap.m.RadioButton({
- text: 'compare with Industry'
- }),
- new sap.m.RadioButton({
- text: 'compare with other Business Partner'
- }),
- ]
- }),
- new sap.m.SearchField({
- id:this.createId("inputField"),
- placeholder: 'compare with ...',
- enableSuggestions: true,
- width: '20%',
- search:[oController.onSearch, this],
- visible: false
- }),
- // new sap.viz.ui5.controls.VizFrame({
- // id: this.createId("CustomersPerIndustryChartt"),
- // busy: true,
- // visible: true,
- // renderComplete: function(e)
- // {
- // //set busy indicator to false
- // this.setBusy(false);
- // },
- // layoutData : new sap.ui.layout.GridData({
- // span : "L8 M12 S12"
- // })
- // }).addStyleClass('CustomersPerIndustryChartStyle'),
- new sap.viz.ui5.Treemap({
- id : this.createId("treemap"),
- busy: true,
- visible: true,
- width : "100%",
- height : "600px",
- layoutData: new sap.ui.layout.GridData({
- span: "L8 M12 S12"
- }),
- title : {
- visible : true,
- text : 'TreeMap'
- }
- })
- ]
- })
- ],
- masterPages:[
- new sap.m.Page({
- id: this.createId("master"),
- title:'master1',
- content:[
- // new sap.m.Button({
- // id: this.createId("masterButton"),
- // text: "MASTER MASTER MASTER",
- // press: [oController.buttonPress, this]
- // }),
- displayFragment,
- new sap.m.Table({
- id: this.createId("table"),
- busy: false,
- headerToolbar:[
- new sap.m.Toolbar({
- content:[
- new sap.m.Title({
- text: 'Products'
- }),
- new sap.m.Button({
- tooltip: 'View Sort Settings',
- icon: 'sap-icon://sort',
- press:[oController.handleSortButtonPress, this]
- }),
- new sap.m.Button({
- tooltip: 'View Filter Settings',
- icon: 'sap-icon://filter',
- press:[oController.hanleFilterButtonPress, this]
- }),
- new sap.m.Button({
- tooltip: 'View Group Settings',
- icon: 'sap-icon://group-2',
- press:[oController.handleGroupButtonPress, this]
- }),
- ]
- })
- ],
- columns:[
- new sap.m.Column({
- header: [
- new sap.m.Text({
- id: 'PACKAGE',
- text : 'PACKAGE'
- })
- ]
- }),
- new sap.m.Column({
- header: [
- new sap.m.Text({
- id: 'mos',
- text : 'SENDING MOs'
- })
- ]
- }),
- new sap.m.Column({
- header: [
- new sap.m.Text({
- id: 'TRAFFIC',
- text : 'TRAFFIC'
- })
- ]
- })
- ],
- items:[
- new sap.m.ColumnListItem({
- type: 'Active',
- cells:[
- new sap.m.Text({
- text: 'primul'
- }),
- new sap.m.Text({
- text: 'primul'
- }),
- new sap.m.Text({
- text: 'primu'
- })
- ]
- })
- ]
- })
- ]
- })
- ]
- })
- return oContainer;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement