AnsweredAssumed Answered

Adjusting the height of a panel where the list lookup control that has changed by JavaScript.

Question asked by joseph.cervi@pnc.com on Oct 17, 2018
Latest reply on Oct 18, 2018 by N M

I have a List Lookup Control A (multiple Checkbox) within Panel A that is filtering List Lookup Control B (multiple Checkbox) within Panel B. I'm able to filter the options based on Control A, but the problem is that the List Lookup Control B height is as large as the amount of unfiltered options in List Lookup Control B.  Using the code below I'm able to adjust the List Lookup Control B, but the Panel B is still the same height.  Anyone know if this can be done?

 

This is the form in designer.

Example: When the form loads Panel B expands to all 33 possible options in the List Lookup Control B.

 

This code is controlling the space for List Lookup Control B, but not the Panel.

  var formFillerDivCurrent = NWF.FormFiller.Functions.GetFormFillerDiv();
          var currentControl = NWF$('#'+ControlName);            
          var divheight = vHeight;            

          NWF.FormFiller.Functions.RepositionAndResizeOtherControlsAndFillerContainerHeight(     
              currentControl,
              divheight,
              divheight,
              formFillerDivCurrent
          );

 

Nintex Forms 2013 v2.10.0 On-Premise

Outcomes