AnsweredAssumed Answered

List View Control Filtering not updated, when changing Filter Text Box value by javascript

Question asked by rubi on Sep 28, 2017
Latest reply on Nov 7, 2017 by yvette

Dear Community, 

 

I have a form where I use the list view control. The filter for this control is based on another text box.

When I enter the value manually AND PRESS ENTER, then the filter works.

But I'm adding the value by a Javascript and then it doesn't fire the filter. 

 

The script looks like this and is called in the formula of a calculated value. It does add the value to the text box as expected.

function UpdateTextBox(myValue){
   NWF$('#'+SpecNrFilterTextBox).val(myValue);
return;}

When I add another line like 
NWF$('#'+SpecNrFilterTextBox).trigger("change");

it ends up in an endless refresh loop. Also .trigger("blur") does not work for me.

 

Any help would be highly appreciated.

Thanks and best regards,

Rubi

Outcomes