Results 1 to 5 of 5

Thread: Make editorgrid column not enterable

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2010
    Location
    Sebastopol, CA
    Posts
    17

    Default Make editorgrid column not enterable

    I have a editor grid with a date column followed by a column to be populated with the Day-of-week by change event in date cell . I don't want the user to need to tab over the dow column, or be able to enter it at all.

    How do I make the dow column not enterable, i.e. tab or arrow from adjacent cell skips this cell (same direction) on to the next column?

    thanks,

    max

  2. #2

    Default

    Make the day of week column un-editable?

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2010
    Location
    Sebastopol, CA
    Posts
    17

    Default

    The column doesn't have an editor. I added editable: false to the column properties and no difference.

    I suspect I need to go a bit deeper into the grid to handle key events and for this cell emit an additional tab/arrow movement event to move one more cell fwd/backward.

    thanks, good idea but ... :-(

  4. #4

    Default

    This is not the default behavior, afaik. When I make an Editor Grid Panel with 4 columns and one without an editor, I can't tab to it at all. I can't arrow to anything...I certainly can't edit an un-edittable column. Maybe you've modified the way the grid works and forgotten about it?

  5. #5
    Sencha Premium Member
    Join Date
    Jun 2010
    Location
    Sebastopol, CA
    Posts
    17

    Default

    You are correct, arrow keys don't move from cell to cell unless you first select a cell with the mouse, the until a field is edited the arrow keys will allow navigation from cell to cell up/down/left/right and also enter the non-editable cells. Otherwise one has to use tab or shift-tab. So if I have a grid that is already populated I will go to the end at a new row and the user will figure it out from there no longer needing to use mouse to enter the grid (I hope I can figure out how to set initial focus).

    thanks for the help,

    max

Similar Threads

  1. How to make Linked Combo in Editorgrid Columns
    By AmitOlsys in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 3 Oct 2008, 12:10 AM
  2. No way to make loading mask show in EditorGrid
    By ajaxE in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 21 Apr 2008, 11:06 PM
  3. How to make EditorGrid modal?
    By jsakalos in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 5 May 2007, 5:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •