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

deny reordering of certain tabs

$
0
0
Hi,
we're using smartclient 9.0 and i tried to use the new tab reorder feature.
It works great and is easy to apply, but i'm missing a possibility to prevent the reordering of certain tabs.
Sometimes you might want a tab, which should not be allowed to be reordered. I think there are two options to do so.
At first, you could add another attribute to the tab, which is indicating, whether or not the tab has a fixed position on the tabSet
and thus can't be dragged to another position (like pinned tabs on chrome)
And secondly there could be a function in the tabSet which is fired, when a tab is dragged. If this method answer's false, the dragged tab should stay at it's original position.

Regards
Marcus

Viewing all articles
Browse latest Browse all 4756

Trending Articles