Add custom functionality to popuprenderer

970
2
07-06-2011 01:23 PM
TimLeigh
New Contributor
Any suggestions for how I would go about adding an export button or other custom functionality such as displaying the data in a datagrid to a popup using a PopupRenderer.

My idea so far is to use a custom class which extends PopupRenderer, e.g.

var popUpRenderer:ClassFactory = new ClassFactory(MyCustomClass);

Where I'm stuck is on which method I can override to set the window contents.
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor
Tim,

   Unfortunately you will have to go against "convention" and place your logic for extended functionality in the SKIN as you do not have any good options for functions to override.
0 Kudos
TimLeigh
New Contributor
Tim,

   Unfortunately you will have to go against "convention" and place your logic for extended functionality in the SKIN as you do not have any good options for functions to override.


Thanks Rob, for others, the tips in this thread are very useful..

http://forums.arcgis.com/threads/29544-Pop-Up-2.3.1-Text-Color-Change
0 Kudos