We need DataTable inline editors to appear for some particular cells only, based on a parameter which is passed in json along the data.
(Here is yui2 code snippet from an app which has to be ported to yui3: http://jsfiddle.net/Anode/w4u1j6fh/)
I've put yui3 code into: http://jsfiddle.net/Anode/jd0cvmq8/2/ which still does not implement the old functionality fully.
BTW In the new (yui3) code refresh of the table data (by selecting a tab) "kills" the possibility to access properties (making an error) from DOM, this is the second problem I have, so please do not change tabs after initial run*.
So the 1st question is: how to cancel/hide inline editor in yui3 in the same way as we were doing it in yui2 (so, only green cells are editable, as in the table on the first link)?
Why e.stopPropagation() does not work (line 225)? If it is wrong way to cancel event bubbling up, then how to cancel the editor by other means?
e.stopPropagation(); //this does not consume the event
alert('why stop propagation has been ignored and editor created?');