Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

Re: Problem with my tree structure in Fiori Launchpad

$
0
0

Hi Ramesh,

 

I have shown the code that i have created my tree table,

 

master1.png

 

master2.png

 

master3.png

 

<?xml version="1.0" encoding="UTF-8"?>

<core:View xmlns:core="sap.ui.core" xmlns="sap.m"

  controllerName="sap.ui.demo.myFiori.view.Master">

  <Page title="{i18n>MasterTitle}">

  <subHeader>

  <Bar>

  <contentLeft>

  <SearchField id="searchField" liveChange="onSearch"

  width="100%" />

  </contentLeft>

  </Bar>

  </subHeader>

  <List id="homelistID" items="{/Business_Process_Hierarchy}">

  <items>

  <CustomListItem>

  <Panel id="homePanelID" expandable="true" expanded="false"

  headerText="{ProcessName}">

  <headerToolbar>

  <Toolbar height="3rem">

  <Title text="{ProcessName}" tooltip="{ProcessName}" />

  <ToolbarSpacer />

  <Button text="{SubProcessText}" icon="sap-icon://open-command-field"

  press="handleClick" />

  </Toolbar>

  </headerToolbar>

  <List id="systemsListID" items="{Child_Process01}">

  <items>

  <CustomListItem>

  <Panel id="homePanelID_01" expandable="true" expanded="false"

  headerText="{ProcessName}" select="handleFirst">

  <headerToolbar>

  <Toolbar height="3rem">

  <Title text="{ProcessName}" tooltip="{ProcessName}" />

  <ToolbarSpacer />

  <Button text="{SubProcessText}" icon="sap-icon://open-command-field"

  press="handleClick" />

  </Toolbar>

  </headerToolbar>

  <List id="systemsListID1" items="{Child_Process02}">

  <items>

  <CustomListItem>

  <Panel id="homePanelID_02" expandable="true"

  expanded="false" headerText="{ProcessName}" select="handleFirst">

  <headerToolbar>

  <Toolbar height="3rem">

  <Title text="{ProcessName}" tooltip="{ProcessName}" />

  <ToolbarSpacer />

  <Button text="{SubProcessText}" icon="sap-icon://open-command-field"

  press="handleClick" />

  </Toolbar>

  </headerToolbar>

  <List id="systemsListID2" items="{Child_Process03}">

  <items>

  <!-- <ObjectListItem title="{ProcessName}" type="Active"

  press="onListItemPress"> <attributes> <ObjectAttribute text="{SubProcessText}"

  /> </attributes> </ObjectListItem> -->

 

 

  <!-- starts -->

 

 

  <CustomListItem>

  <Panel id="homePanelID_03" expandable="false"

  expanded="false" headerText="{ProcessName}" select="handleFirst">

  <headerToolbar>

  <Toolbar height="3rem">

  <Title text="{ProcessName}" tooltip="{ProcessName}" />

  <ToolbarSpacer />

  <Button text="{SubProcessText}" icon="sap-icon://open-command-field"

  press="handleClick" />

  </Toolbar>

  </headerToolbar>

  </Panel>

  </CustomListItem>

 

 

  <!-- ends -->

 

 

 

 

  </items>

  </List>

  </Panel>

  </CustomListItem>

  </items>

  </List>

  </Panel>

  </CustomListItem>

  </items>

  </List>

  </Panel>

  </CustomListItem>

  </items>

  </List>

 

 

 

 

  <footer>

  <Bar>

  <contentRight>

  <Button icon="sap-icon://add" press="Pressadd" type="Accept" />

  </contentRight>

  <contentLeft>

  <Button icon="sap-icon://drop-down-list" press="Pressdropdown" />

  </contentLeft>

  </Bar>

  </footer>

 

 

  </Page>

</core:View>


Viewing all articles
Browse latest Browse all 2067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>