Wednesday, October 31, 2012

Re: why no getTabBar() in TabLayoutPanel?

Consider adding a handler: addBeforeSelectionHandler()

From this you can Cancel() the user's selection.

You'll also need to look into re-styling the tab you want "cancel" selection for so that there's a little feedback to users.


On Wednesday, 31 October 2012 03:36:18 UTC, tong123123 wrote:
I have a tablayoutpanel, one tab display a grid with many record, user can select one record and then press edit, then it will jump to other tab for edit, I want to disable the first tab when edit, but I found that there is no getTabBar() in tablayoutpanel but has this function in TabPanel!! why the function is removed from TabLayoutPanel?

any suggested method to disable/enable a tab in TabLayoutPanel?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZJfs6dHJ9DYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment