Use actions to activate a different tab

BillBill ✭✭
edited May 12 in Questions
Is it possible to have a tab active and use Actions from button to change which tab is in focus?
image
Now press "Add New Search".  Using actions I then see this with out pressing t "Searches"
image
What actions would make this happen?

Comments

  • edited November 2017
    Bill,

    Do searches have to be in a different tab?  You can use the action 'Toggle Component' to show and hide any element on the page.  I think this is available since Brooklyn 10.0.2.

    You can add the Search component on the tab and add a page triggered action sequence to hide the Search component.  Then add the Toggle Component action to your 'Add New Search' button.  Note that the page triggered action is only available in Millau (11.0).

    Thanks,

    Bill
  • edited October 2019
    I have built my own “tab sets” using conditionally rendered wrapper components in a responsive grid. Render the wrappers using buttons.
  • BillBill ✭✭
    edited May 12
    Thanks guys.  I ended up moving the "add searches" under the "Searches" tab which actually makes more sense
  • edited September 2019
    A non-elegant approach I'm using on a page renders a tab when a certain UI-only model has no data rows. In one action sequence, a dummy row is created in that model, hiding the affected tab. This effectively directs the user to an alternate tab, where a Whenever Shown action sequence removes the dummy row in the UIO model. (This re-enables the hidden tab, but the user is where we want them. It's clunky, but it works.)
Sign In or Register to comment.