Dispatching DataGrid Event - Not working
i created own class , within class has it's own datagrid. , when try dispatch header_release event datagrid not see event listener.
for example
------------------------
var mydatagridevent:datagridevent = new datagridevent(datagridevent.header_release);
mydatagridevent.columnindex = mycolumnindex;
mycustomclass.datagrid.dispatchevent(mydatagridevent);
-------------------------
i've tried
mycustomclass.datagrid.haseventlistener(datagridevent.header_release);
it return false, , not know why doesnt see it.
any appreciated, thanks.
art
for example
------------------------
var mydatagridevent:datagridevent = new datagridevent(datagridevent.header_release);
mydatagridevent.columnindex = mycolumnindex;
mycustomclass.datagrid.dispatchevent(mydatagridevent);
-------------------------
i've tried
mycustomclass.datagrid.haseventlistener(datagridevent.header_release);
it return false, , not know why doesnt see it.
any appreciated, thanks.
art
you haven't assigned event listener datagrid. you've done dispatch event. you'll need use addeventlistener.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment