You are listening to the column, but dispatching the event from the
yes, i thought that. This solution, what i wrote here is my second try, because i dont know, how can i add listener to headerRenderer.
Class factory haven´t got addListener method, so i dont know how can i do that.
headerFactory.addEventListener(....); doesnt work, so how can i do that?
Thank you very much!
I wouldn't add the listener to the headerRenderer. I would listen to the
DataGrid and have the headerRenderer dispatch from the DG.
i tried it, but it not works. I dispatch my custom event in header:
var columnEvent:ColumnEvent = new ColumnEvent("changeName");
columnEvent.name = event.text;
and i add listener to datagrid:
but function onHeaderEdit isn't call.
Can you show me how should i do that?
thanks very much!