tags:

views:

990

answers:

2

I have a tab panel in the gwt. I want allow the user to select the tab only by mouse. For this one I have disable the tabindex for all the tab in my tabpanle. I tried with this code:

DOM.setElementAttribute(cdrMeseTabPanel.getElement(), "tabIndex", "-1" );

but it is not working.

Any ideas please?

A: 

Try setting the tabIndex to an empty property:

DOM.setElementAttribute(cdrMeseTabPanel.getElement(), "tabIndex", "" );
Miguel Ping
A: 

Just remove the tab index complemetely it worked for me.