0
votes

i'm using a footer for one of columns, whos length is more then the width of the column.. and end results i can't see the full text.

                     <footer>
                     <VBox>
                        <Label text = "Total 1 abcdefg hijklmnop qrstuvwxyz"></Label>
                        <Label text = "Total 2"></Label>
                        <Label text = "Total 3"></Label>
                        <Label text = "Total 4"></Label>
                     </VBox>
                     </footer>              

i'm just wondering if i can do a colspan so that the text can be seen properly. this is very simple in traditional html>table.. something like below:

<td colspan="2">TEXT GOES HERE</td>

but i dont see any option for sap.m.column to make use of colspan. is there any way to achieve this?

tnx

1
is using jquery the only option? - sapsm

1 Answers

0
votes

Table controls are not designed for layouting. If you need this you should use sap.ui.layout.MatrixLayout. The other option would be using Text control instead of label to make text wrap.