Select to view content in your preferred language

launch popup from code

943
1
08-22-2011 12:19 PM
AdamConner
Deactivated User
I am working with a feature layer and I have a data grid with the same features.  I am able to loop though the graphics and zoom to the feature, but I would like to also simulate clicking on the feature by showing the popup.  Is there a recommended way to do this?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Adam,

   The eSearch Widget has this capability if you look in the SearchWidgetFloatDG.mxml you will find several functions you need to do this.



  1. onItemRollOver

  2. hideInfoWindow

  3. showInfoWindow

  4. configurePopUpInfo

  5. findGraphicByAttribute

  6. clickRow

eSearch Link:
http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e
0 Kudos