3 Replies Latest reply on Nov 13, 2011 10:09 PM by Flex harUI

    Spark datagrid - Tabbing

    Zolotoj Level 3

      I would like to prevent tabbing from one cell to another while a user is editing a cell.

      I tried:

      override protected function keyDownHandler(event:KeyboardEvent):void

                  {

                      if (event.keyCode == Keyboard.TAB)

                      {   

                          event.preventDefault();

                          event.stopImmediatePropagation();

                          event.stopPropagation();

                      }   

       

                  }

      in my custom editor but it still tabs in and out.

       

      Thanks