Results 1 to 6 of 6

Thread: Rowediting in grid containing actioncolumns throws error

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    May 2014
    Posts
    2

    Default Rowediting in grid containing actioncolumns throws error

    Ext version tested: 5.0.0.736

    Browser versions tested against:

    • Chrome 34.0.1847.137
    • FF 28
    • FF 29.0.1
    • Safari 7.0.4 (9537.76.4)
    DOCTYPE tested against:
    • HTML 5

    Description:

    • If a grid contains actioncolumns and the rowediting plugin, rowediting throws an error. After removing the actioncolumns, all works as expected. The following error comes up: Uncaught TypeError: Cannot read property 'disabled' of undefined. The Error comes from Ext.grid.column.Action#defaultRenderer line: disabled = item.disabled || (item.isDisabled ? item.isDisabled.call(item.scope || scope, view, rowIdx, colIdx, item, record) : false);
    Sencha-Fiddle

    https://fiddle.sencha.com/#fiddle/64p

    Steps to reproduce the problem:
    • Click on a row to edit
    • Look in the console window of the browser
    The result that was expected:
    • After click on row
    • Edit a columncontent
    • Click on Update
    • Update the store
    The result that occurs instead:
    • After click on a row, nothing works anymore. Error happens

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,239

    Default

    Thanks for the post. Can confirm this happens in the beta build but it is fixed in the latest nightly. Editing doesn't cause any exception.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium User
    Join Date
    Mar 2012
    Location
    germany
    Posts
    28

    Default Rowediting in grid containing actioncolumns throws error

    In which version is this bug fixed??? i migrate my project from 4.2.1 to 4.2.3 and i have now the bug!!! i did'nt had it before!!

  4. #4
    Sencha Premium User
    Join Date
    Mar 2012
    Location
    germany
    Posts
    28

    Default

    the bug is back :-)

  5. #5
    Sencha User
    Join Date
    Jul 2008
    Location
    Czech republic
    Posts
    69

    Default

    Hi,
    did anyone found any workaround?

  6. #6
    Sencha User
    Join Date
    Jul 2008
    Location
    Czech republic
    Posts
    69

    Default

    Nobody? No fix?

Posting Permissions

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