Can't open popup window in item renderer
i have datagrid 2 columns. each column has it's own itemrenderer. itemrenderers have there own class. in 1 itemrenderer have link button , has click event associated in script block of class. inside click event have following code create popup:
var popup_win:mywindowtype = mywindowtype (popupmanager.createpopup (this, mywindowtype , true));
when click linbutton see flash , blur affect if window trying open never does. i've traced "this" , it's renderer... tryed reference class has datagrid control... this.parent.parent.parent... doesn't work either. i'm trying open window allows user choose stuff radio button , when click ok on popup window validation , contents get's changed in cell came from. want popup open upon clicking of link button or else use editor functionality. ideas of how this?
var popup_win:mywindowtype = mywindowtype (popupmanager.createpopup (this, mywindowtype , true));
when click linbutton see flash , blur affect if window trying open never does. i've traced "this" , it's renderer... tryed reference class has datagrid control... this.parent.parent.parent... doesn't work either. i'm trying open window allows user choose stuff radio button , when click ok on popup window validation , contents get's changed in cell came from. want popup open upon clicking of link button or else use editor functionality. ideas of how this?
i did , works
var popup_win:mytype = mytype(popupmanager.createpopup(displayobject(this.parentapplication), mytype , true));
thanks me
var popup_win:mytype = mytype(popupmanager.createpopup(displayobject(this.parentapplication), mytype , true));
thanks me
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment