Table search box disabled

  • 1
  • Problem
  • Updated 2 years ago
I have one Agg model 1 that feeds results to a second Agg model 2. The table search box connected to Agg model 2 is disabled. I am not sure why as I have done this in the past without issue. 

In the console I see that the search is disabled. I can enable the search in the console and it will work. Not sure how it is disabled but is there a way to re-enable it?

Photo of Tami Lust

Tami Lust

  • 5,280 Points 5k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Tami Lust

Tami Lust

  • 5,280 Points 5k badge 2x thumb
I am still not sure why the search box is disabled on this one table but here is the code to enable it. To trigger it I am using the model re-query action on the model.

var element = arguments[0],    
          $ = skuid.$,
x = document.getElementsByClassName("searchbox")[0].disabled=false;
console.log(x);