[CLOSED] tabPanel: navigation problem

  1. #1

    [CLOSED] tabPanel: navigation problem

    Last edited by Daniil; Jun 18, 2012 at 12:01 PM. Reason: [CLOSED]
  2. #2
    Hi,

    There is no such built-in functionality, but, I think, it is possible to implement.

    I would use Ext.util.KeyMap
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.util.KeyMap
    to listen the TabPanel tabBar "tab" and "key arrows" keys.
    http://docs.sencha.com/ext-js/4-1/#!...roperty-tabBar

    You will, probably, need to use the following TabPanel methods:
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-method-setActiveTab
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-method-getActiveTab

    Also you might need to highlight the focused tab. For example:
    <style type="text/css">
        .x-tab-focus .x-tab-inner {
            color: red;
        }
    </style>
  3. #3
    Ok!
    Thank you, Daniil

    I will try do this...

    for now, how I can solve the behavior of focus disappeared????
  4. #4
    This helps.

    Quote Originally Posted by Daniil View Post
    Also you might need to highlight the focused tab. For example:
    <style type="text/css">
        .x-tab-focus .x-tab-inner {
            color: red;
        }
    </style>
  5. #5
    Hi Dannil!

    Works

    Thanks a lot.

Similar Threads

  1. [CLOSED] GridPanel PagingToolbar Navigation Problem
    By supera in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 23, 2012, 2:49 PM
  2. [CLOSED] TabPanel Keyboard Navigation
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 14, 2011, 8:52 AM
  3. [CLOSED] Problem with tabpanel onWindows
    By John_Writers in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 13, 2011, 2:52 PM
  4. [CLOSED] [0.8.2] TabPanel layout problem
    By MarcA in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 10, 2010, 1:12 PM
  5. [CLOSED] tabpanel with htmleditor problem
    By Lex in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 24, 2008, 9:05 AM

Posting Permissions