vendredi 12 décembre 2014

widgetcolumn able to start edit mode in grid?

I feel there is no real guide about focus in the documentation, and having seen a lot of focus related bugs in the last months it seems I'm not the only one confused ;-)

So, you know the widget in Ext JS 5, the one you can use in a grid using widgetcolumn?


Well, if I use that widget in a grid, with similar code than the Sencha Blog at: http://ift.tt/1yL3p98


Then, when I have cellediting enabled and I click on my widget it doesn't start edit mode.


So I have put the following as a listener:



Code:



onClick: function (event) {
event.currentTarget.parentElement.click()
}

I feel this is just giving up on using anything from Ext JS, should I be using a better way?



widgetcolumn able to start edit mode in grid?

Aucun commentaire:

Enregistrer un commentaire