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

Re: How to use sap.ui.core.util.Export to utility function?

$
0
0

Really, it's not hard at all:

 

oColumn.template.content.path = oTable.getItems()[0].getCells()[i].getBinding("text");

And if you have more than one type of control in your table (inputfields, dropdowns, etc), just check for that type and modify the binding property accordingly ("text" vs "value" etc)

 

I would certainly recommend using the 'horizontal' object approach (i.e. using one array object per exported row) instead of making your life and future maintenance  harder with explicit linefeeds and/or carriage returns


Viewing all articles
Browse latest Browse all 8950

Trending Articles



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