Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Navigation among tabs when closing tab

$
0
0
Hi.

I have created a tabSet with several closeable tabs, and I need to change default behavior of closing a tab.

When I close the current selected tab, the next selected tab is tab0, which is ok. But when I close another tab (no selected), the next selected tab is tab0 again, which is wrong. In this last case I want tabSet to remain in current selected tab.

I have added a CloseClickHandler to my Tabset, in order to avoid this, but the result is the same. I have detected that if I cancel this CloseClickEvent, my tabSet goes to tab0 and then returns to the tab I tried to close.

My project references GWT 2.0.5, smartgwt 3.1 and smartgwt-skins 3.1.

What can I do? Thanks in advance.

Viewing all articles
Browse latest Browse all 4756

Trending Articles