[4.2] - rbf_showOrHideSection() leaves section-seperator - Forum - Rollbase - Progress Community

[4.2] - rbf_showOrHideSection() leaves section-seperator

 Forum

[4.2] - rbf_showOrHideSection() leaves section-seperator

This question is not answered

Hello,

I am trying to hide a section and I notice that there is a gap between the hidden section and the non-hidden section that is separated using the .rbs-section-seperator div. Is there a possibility to add this to the showOrHideSection function and hide the separator as well, because there is unnecessary space that is staying there?

Cheers.

Iram

All Replies
  • Hi IramK,

    Yes I can reproduce the issue and I have logged the defect for the same.

    Thanks,

    Shivali

  • Any possible resolution dates?

    Iram

  • Hi Iramk,

    Till it is fixed, as a workaround you can use the below script to hide the section separator.

    <script>

    rbf_showOrHideSection(324862,false);

    var sectionElement = $('#rbi_S_324862');  // where rbi_S_51599 is the Id of the section element

    var sectionSeparator = sectionElement.next('.rbs-sectionSeparator');

    sectionSeparator.hide();

    </script>

  • Thanks.