hi,
1. having issue with hAlign in sap.ui.table.Table
declaration of xmlns in View tag:
xmlns:table="sap.ui.table"
table declaration:
<table:Table id="Table1" visible="false" navigationMode="Paginator" selectionMode="None" rows="{/rowData}" > <table:columns> <table:Column sortProperty="name" filterProperty="name" hAlign="Center" width="8em"> <Label text="Name" /> <table:template> <TextView text="{name}" /> </table:template> </table:Column> </table:columns></table:Table>
problem: i never see the contents of the column are aligned to Center, Right.. its always defaulted to Left. wts wrong in my code?
2. when chk the generated code in Chrome (F12) .. i see <div> tags are generated by the framework. any particular reason? and i see sap.m.table generates a html table.
which one recommended to use? sap.mobile version or sap.ui.table?