cancel
Showing results for 
Search instead for 
Did you mean: 

demand popin always shows a colon

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (0)