Skip to Content
1
Nov 25, 2022 at 09:34 AM

FIori Elements: (Sometimes) table label values are not visible - display:none

112 Views Last edit Nov 25, 2022 at 09:38 AM 3 rev

Hello everyone,


Szenario:

I have a table inside an object page. Within that table a set of columns is displayed.

The table columns consist of attributes from 2 different entities. In my case:

  • Handling Unit
  • Delivery Items: are referenced inside (1) Handling Unit as composition of (n) Delivery Items
entity HandlingUnit {
key HandlingUnitNumber : String;
@readonly DeliveryNumber : String;
(...)
to_DeliveryItem : Composition of many DeliveryItem on to_DeliveryItem.HandlingUnitNumber = $self.HandlingUnitNumber;
}
entity DeliveryItem {
key DeliveryItemNumber : String;
@readonly DeliveryNumber : String;
@readonly HandlingUnitNumber : String;
(...)
}


Description of the issue:

In any case, all of the table column labels are being rendered. But for some reason (sometimes) only a few of the label values are being rendered. As soon as I reload the page, all labels are being rendered again.


Further information:

  • Handling Unit: The attributes of the entity Handling Unit always seem to be rendered.
  • Delivery Items: The attributes of the Delivery Items entity seem to be affected by this issue.

It seems that sometomes the css class sapMHiddenToken is attached to the parent div of each label-value <span> element. This results in the element being hidden from DOM with display: none;

issue.png

best regards,

Martin

Attachments

issue.png (355.5 kB)