/(*Note:* I've tested by new fix pushed by Piotr recently to TabBar bracketed binding source reported at: https://issues.apache.org/jira/browse/FLEX-35256)/
Hi, I have a requirement to add/remove tabs to TabBar component at runtime. Although by recent fix from Piotr for bracketed binding to TabBar component, it's failed to update it's view on any update to the bindable source; though it's a second big expectation from a binding feature. I tried to look into the TabBar source and then into "TabsItemRendererFactoryForArrayData.as" file. I seen there is a change listener added to the collection/source: > dataProviderModel.addEventListener("dataProviderChanged", > dataProviderChangeHandler); I noticed that changes to the source never fires the above method, though. Thus, I forcibly dispatches the event after any changes to the source, i.e. addition to the source, that does adds a new tab like block to the TabBar component, but without any working functionality to it. <http://apache-flex-development.2333347.n4.nabble.com/file/n59508/Untitled.png> In above image, "CHIPS" added after a button click event, but I noticed it gets added without mdl tab styles on it. Furthermore, the TabBar seems completely broken, no section change occur, no selected tab style occur (the red line beneath the selected tab), and clicking any particular tab add the 'tabId' to the address bar (as shown in the image). Can Piotr or Carlos give me some idea how to make this thing works, how can I add/remove items to the TabBar component at runtime? Appreciate to hear from you. Thanks! -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Add-Remove-item-s-to-TabBar-tp59508.html Sent from the Apache Flex Development mailing list archive at Nabble.com.