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 ![]()