tabset order

  • 1
  • Question
  • Updated 2 years 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 2 years ago

  • 1
Photo of Pat Vachon

Pat Vachon, Champion

  • 45,300 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

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

Pat Vachon, Champion

  • 45,300 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 Pat Vachon

Pat Vachon, Champion

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