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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
