PDA

View Full Version : [FIXED] Rowediting in grid containing actioncolumns throws error



admo
26 May 2014, 11:38 AM
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)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 :(

evant
26 May 2014, 2:29 PM
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.

Yacine BRITAH
28 Oct 2014, 2:05 AM
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!!

Yacine BRITAH
28 Oct 2014, 2:06 AM
the bug is back :-)

ondra.cz
8 Nov 2014, 8:11 AM
Hi,
did anyone found any workaround?

ondra.cz
21 Nov 2014, 12:34 PM
Nobody? No fix?