Results 1 to 7 of 7

Thread: Locked columns problem when only action and checkbox columns are defined

  1. #1
    Sencha User
    Join Date
    Nov 2016
    Posts
    1

    Default Locked columns problem when only action and checkbox columns are defined

    Hi all,
    when I define only action and checkbox columns as locked in a grid, the header of the locked grid disapear.

    sample fiddle : https://fiddle.sencha.com/#view/editor&fiddle/1mvo

    thanks for help !

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I see it as well (6.2.0). Looks like it's been fix though, as I can't recreate using 6.2.1 or a nightly of 6.2.2.

  3. #3
    Sencha User
    Join Date
    Dec 2013
    Location
    India
    Posts
    18

    Default

    Hi Gray,
    I just tested with 6.2.1.167 - classic(classic theme). The error is still existing.

    Just unlock the action column you will see the error in the console.

    The problem is with onlock and onunlock functions which has "column.items.items" which works for normal column and not for action column.

    Do you have any fix for this?

    Thanks,
    Yuvabarath

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I just tested with 6.2.1 classic theme and the column headers show as expected.
    Screen Shot 2017-03-22 at 7.30.02 AM.png

    What error message are you seeing?

  5. #5
    Sencha User
    Join Date
    Dec 2013
    Location
    India
    Posts
    18

    Default

    Yes ,the header shows up. but when you unlock it problem occurs.

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Here's the same test case with the actioncolumn unlocked.
    https://fiddle.sencha.com/#view/editor&fiddle/1sj1

    Are you able to see the error in this test case? If not, can you post one which exhibits the behavior you're seeing?

  7. #7
    Sencha User
    Join Date
    Dec 2013
    Location
    India
    Posts
    18

    Default

    With the same example, please use 6.2.1 classic theme. I am getting the error in the console and grid goes blank.

    Uncaught TypeError: Cannot read property 'length' of undefined
    at constructor.onLock (ext-all-debug.js:213059)
    at constructor.lock (ext-all-debug.js:224382)
    at constructor.onLockMenuClick (ext-all-debug.js:224120)
    at Object.callback (ext-all-debug.js:8727)
    at constructor.onClick (ext-all-debug.js:218589)
    at constructor.onClick (ext-all-debug.js:219832)
    at constructor.fire (ext-all-debug.js:20803)
    at constructor.fire (ext-all-debug.js:34457)
    at constructor.publish (ext-all-debug.js:34417)
    at constructor.publishDelegatedDomEvent (ext-all-debug.js:34439)

    I have also raised a support ticket(#36403) with my example for 6.2.1- classic

Similar Threads

  1. LockingGridView - Moving locked columns after RowNumberer and Checkbox column
    By abhilashca in forum Ext 3.x: Help & Discussion
    Replies: 11
    Last Post: 20 Sep 2013, 11:55 PM
  2. Replies: 1
    Last Post: 4 Jul 2013, 7:54 AM
  3. Checkbox Model conflicting with locked grid columns
    By Saintshroomie in forum Ext: Discussion
    Replies: 1
    Last Post: 6 Sep 2011, 2:02 AM
  4. Replies: 1
    Last Post: 31 May 2011, 7:34 AM

Posting Permissions

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