GraphicsLayer click event to obtain multiple graphics

Discussion created by krobine on Feb 3, 2014
Latest reply on Feb 6, 2014 by bives
I've added a click event to a GraphicsLayer that has graphics from X/Y locations unrelated to Feature Layers. However, I've noticed that it's only showing a single graphic at a time. I basically need to select multiple graphics within an extent. The QueryTask forces me to point to a URL of a Feature Layer. But I don't have a Feature Layer; I only have Graphics. What gives? How can I select multiple graphics from a single Graphicslayer when the user clicks on a map? Feel like I'm missing something simple here.