Results 1 to 4 of 4

Thread: Column sorting break on hitting ENTER Key in column inner item

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default Column sorting break on hitting ENTER Key in column inner item

    Plateform : ExtJs 4.2.1
    Chrome 47, IE, FF

    Description:
    Column sorting break on hitting ENTER Key in column inner item.

    Step to reproduce : see comments in screenshot attached


    Sorting Issue on ENTER.png


    Here is working fiddle for the same:




    Seems issue is not there in Ext JS 5 and Ext JS 6.

    Can anyone please any workaround for V 4.2.1
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. #2
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default

    For now I disabled the ENTER key for all the text fields o?n keydown event.
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thank for the report. I'm glad to hear that you found a workaround. It looks like this issue was resolved in 4.2.3. I wasn't able to find the bug report that led to the fix, so I don't have another workaround at this time.

  4. #4
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default

    Thank you Gary for searching out.

    I put below code in my common script for my desired condition and work great through out the application

    Code:
    element.inputEl.on('keydown', function (e) {
        if (e.getKey() == e.ENTER) {
            e.stopPropagation();
            return false;
        }
    });
    ---A ship in the harbor is safe, but that is not what the ships are made for...

Similar Threads

  1. Replies: 1
    Last Post: 12 Jun 2014, 11:18 AM
  2. submitting the form on hitting enter key
    By rockys in forum Ext 2.x: Help & Discussion
    Replies: 13
    Last Post: 3 Jun 2009, 8:49 AM
  3. What is the right way for submitting a form on hitting the enter-key?
    By Northrog in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 10 Sep 2008, 4:03 AM
  4. Hitting enter on grid causes app reload
    By paulsschwarz in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 3 Sep 2008, 7:31 PM
  5. Disable column onclick sorting, but still allow sorting via column menu
    By Troy Wolf in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Mar 2008, 9:39 AM

Tags for this Thread

Posting Permissions

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