PDA

View Full Version : Bug? cellediting column editor shares same store between 2 grids



Qarea
26 Feb 2018, 3:30 PM
I've created fiddle to lllustrate issue
https://fiddle.sencha.com/#view/editor&fiddle/2dom - open it, open console and click on second tab
you will see

stores are same true
combos are same false
cols are same false

we have 2 grids (they are fully similar, but they are different objects), column objects are different, column editor objects are different, but column editor stores are same.. why and how to fix that?!


PS If somebody knows very well how cellediting plugin works please check comment for the getSelectedLink() method. I need to modify record that edited by cellediting plugin (ie set parameterId to record when parameterName is set from editor combobox) and got strange issues when using record from selectionModel, however all seems ok with current implementation except using private method