I am creating a web application and I want to use the Tabs widget to replicate the tab functionality you find in most web browsers. I want the user to be able: to move (sort) the tabs around, create tabs dynamically, close tabs dynamically.
The problem I find is that to close a tab you need to have its index and when considering the fact that other tabs can be opened, closed, and sorted dynamically, you need to retrieve/get the tab's index when you want to close it.