Rerender tabset with javascript?

  • 1
  • Question
  • Updated 1 month 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

  • 32,106 Points 20k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Sneha

Sneha

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

Amy Dewaal, Official Rep

  • 8,320 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
Photo of Arne-Per Heurberg

Arne-Per Heurberg

  • 2,780 Points 2k badge 2x thumb
this seems to work for tab set but Tab Panel... any idea why?