Rerender tabset with javascript?

  • 1
  • Question
  • Updated 2 years ago
An extension to this converstion: https://community.skuidify.com/skuid/topics/toggle-tab-labels-on-off. I thought it warranted its own question.

I'm running this snippet to try to re-render a tabset:

var $ = skuid.$;
var tabs = skuid.component.getById('CaseTabs');
tabs.render();

Nothing happens.

Am I using getById function incorrectly?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Sneha

Sneha

  • 624 Points 500 badge 2x thumb
Were you able to get a solution to this?
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Matt and Sneha,

That snippet should work, as long as the id you specify is the same as the unique Id property of the component you want to rerender.

Thanks!
Amy