List View - Record Preview - vardef field dependency

Hi all,

I have two fields defined in my vardef.php for a module.

They have a dependency rule, so that they are not shown in the Record View if the rule does not apply.

However when I'm at the List View and click on "Preview" the data of the fields are not shown, but an empty row is displayed - in the normal Record view it is completely hidden.

See below the orange highlighted boxes at the image:

ListView-RecordPreview

Do you have any idea how to remove the column there?

Many thanks

Best Regards

Sven

Using SugarCRM v9.0.2