remove tab from TabLayoutPanel programly , GWT
i need an idea how to remove tab if Button within t开发者_如何学运维his tab has been clicked.
thx.
Add a ClickHandler
to the button, and have it call one of the remove methods (either the one that takes an int or the one that takes the tab's widget) with an argument that corresponds to the tab that it's on.
精彩评论