tabset order

  • 1
  • Question
  • Updated 1 year ago
  • Answered
Is it possible to change the order of tabs in a tabset on page load, our US users want tab 1 first and our UK users want tab 2 first!
Photo of Paul Heald

Paul Heald

  • 420 Points 250 badge 2x thumb

Posted 1 year ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Conditionally Render the order. Especially if the tabs have page includes.
Photo of Paul Heald

Paul Heald

  • 420 Points 250 badge 2x thumb
hi Pat
That was my first thought but the tabs are complex and not page includes, so was looking for another method
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Another argument for "always use page includes for the contents of tab sets"!
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Even better when you have a custom component that registers models in page include to save/cancel button on "parent" page.
(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
You could javascript to reorder them.