refresh table filters and dashboard using a custom button

  • 1
  • Question
  • Updated 2 years ago
What is the best method to refresh a table when various filters have been selected? A refresh button I created currently queries the model, it refreshes the dashboards, but if you had selected  a filter from the table, the values do not refresh and stay the same. Any ideas would be appreciated. Thanks!

Photo of ns

ns

  • 1,822 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Christine Jessen

Christine Jessen

  • 670 Points 500 badge 2x thumb
Roger -

Thanks for your question!  Are both your charts and your table on the same model?  If so, the charts should refresh every time the table filter is selected.  If your chart is using a different model from your table - set a model action to query the chart model whenever the table model is requeried.



Hopefully this answers your question!  Good luck!
Christine
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,776 Points 4k badge 2x thumb
Roger, if you're using a JavaScript snippet, you can also call a chart to load specifically by calling the following:

skuid.$C('yourChartsIdHere').render();

However, I try to do things declaratively as much as possible like Christine suggested.