I make advance data grid to view tabulate data. Each row has icon. When user click that icon show extra data for the that row.
I want show popup in my page center. I used PopUpManager.centerPopUp(panel); to do it. This is my code sample.
panel = new TitleWindow();
panel.showCloseButton = true;
panel.addEventListener(CloseEvent.CLOSE,closeHelp);
panel.addChild(txt);
PopUpManager.addPopUp(panel, Application.application.linkbody, false);
PopUpManager.centerPopUp(panel);
Now pop up show in center of hole page but not screen. When data grid have more data popup window is hide. I want show it center of screen. How can i do it. Can i set popup position manually? Please help me.
You can either set the position manually, or change the parent to center it in your application.
PopUpManager.centerPopUpcenters the popup on its parent.