Quantcast
Viewing all articles
Browse latest Browse all 3585

Re: Binding Column Headers for a table control in Fiori

Hi Friends,

 

I was able to solve this by setting the path as follows:

 

<Table xmlns="sap.m" id="idTable1" width="auto"

   items="{

      path:'/Values',

      sorter: {

        path: 'Col1'

      }

    }"

    >



<columns>


<Columnid="idCol1">


<header>


<Texttext="{path:'/ColHeader/ColH1'}"/>


</header>


</Column>


<Columnid="idCol2">


<header>


<Texttext="{path:'/ColHeader/ColH1'}"/>


</header>


</Column>


</columns>


<items>


<ColumnListItem>


<cells>


<Textxmlns="sap.m"text="{Col1}">


</Text>


<Textxmlns="sap.m"text="{Col2}">


</Text>


</cells>


</ColumnListItem>


</items>


</Table>


Viewing all articles
Browse latest Browse all 3585

Trending Articles



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