cancel
Showing results for 
Search instead for 
Did you mean: 

sap.m.Table: Checkbox ColumnListItem not visible

0 Kudos

Hi,

we have a sap.m.Table with fix column sizes and a horizontal scrollbar in a Detail view. Two of the columns show check boxes.

When the view is opened on a smaller screen (Laptop screen, no mobile phone), the check boxes are not visible.

On a bigger external screen they are visible.

I`ve tried setting some CSS parameters but none did work.

Minimized View XML:

<mvc:View controllerName="example.TableView" xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc"> 

<Panel id="panelDH" expandable="true" expanded="false" headerText="Header" width="auto"> 
  <content> 
    <Table id="tableDH" busy="{detailView>/busy}" busyIndicatorDelay="{detailView>/delay}" 
      width="auto"> 
     <columns>
       <Column id="colText" width="13rem">
         <Text text="Text"/>
       </Column> 
        ...
       <Column id="calCheckBox" width="2rem">
         <Text text="CheckBox"/>
       </Column> 
       ...
     </columns>
     <items>
       <ColumnListItem id="cliDH" type="Inactive" vAlign="Middle">
         <cells>
            <Text text="{detailView>InfoText}" /> 
            ...
            <CheckBox selected="{detailView>selected}" editable="false"/>
            ...
         </cells>
       </ColumnListItem>
     </items>
   </Table>
  </content>
</Panel>
</mvc:View>

The view is embedded in another view. Parent view:

<mvc:XMLView id="idDH" viewName="example.TableView"/>

Any ideas on how to solve the issue or information whether that is a SAP bug? (sap-version 1.52.9)

Thanks,

Oezlem

maheshpalavalli
Active Contributor
0 Kudos

Can you paste your XML view code?

0 Kudos

Hi Mahesh,

I`ve added the view to my question.

maheshpalavalli
Active Contributor
0 Kudos

Is it not at all visible on the laptop? Or is it pushed to the side..

You can check using the UI5 inspector it's a plugin in chrome to check if the UI elements are there..

BR,

Mahesh

Accepted Solutions (0)

Answers (2)

Answers (2)

maheshpalavalli
Active Contributor
0 Kudos

Hi Özlem Öztürk,

To be frank, it's difficult to solve this from here.. If you could provide some jsbin link to check, it would be great..

But from the screenshot I can see that the width as "" space.. maybe directly edit it to 2 rem and check if it works..

If it works, you can again set the width as 2rem to checkbox directly.

BR,

Mahesh

0 Kudos

Hi Mahesh,

the checkbox is there but not displayed.