I want to be able to dynamically change the tab order on my page. I made two buttons to move tab left and right respectively.
i implemented this by swapping a copy of the data of the tab on the left with the tab on the right. The problem is I want that tab that I just moved left to be the selected tab, yet it is staying on the old tab with the dat that was switched in. Is there a way to simlate a tab click?
If no, do you have any other advice for me to do here?