on 04-13-2017 11:58 AM
Hi,
let's assume you are going to develop a responsive table with the Element "Table" and "ColumnListItem". Something like that:
<Table id="myTable" items="{myModel>/}">
<columns>
<Column>
<Text text="Headline 1"/>
</Column>
<Column demandPopin="true" minScreenWidth="XLarge" popinDisplay="Inline">
<Text visible="{= condition ? true : false}" text="Headline 2"/>
</Column>
</columns>
<items><br> <ColumnListItem>
<cells>
<Text text="{myModel>Text}"/>
<Text visible="{= condition ? true : false}" text="{myModel>anotherText}"/>
</cells>
</ColumnListItem>
</items>
</Table>
Now, the popped in column always shows ':' . Is there a better way to show a column by condition? (Some of these columns are shown and some are not.).
Doubtfully, I cant set the Column visible="false", because sapui5 won't show any columns at all, even if some of them are visible="true". That's why I tried it like the solution above.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.