using javascript api 3.10
I am using a popup in a sidepanel. When I click "next" (using the sample integrated in my application) it calls
map.infoWindow.selectNext();
onResultSummaryItemClick(map.infoWindow.selectedIndex);
which then calls
function onResultSummaryItemClick(idx) { // alert(idx);
map.infoWindow.select(idx); // alert("index:"+map.infoWindow.selectedIndex);
var extent = map.infoWindow.getSelectedFeature().geometry.getExtent();
if (!extent) { // alert(map.infoWindow.getSelectedFeature()+":"+map.infoWindow.getSelectedFeature().geometry);
map.centerAndZoom(map.infoWindow.getSelectedFeature().geometry, 18);
}
else
{
map.setExtent(extent, true);
}
However the selected feature highlight symbol is ending up first in the list, instead of last, so it is drawing UNDER the feature, and therefore isnt appearing highlighted. If i click the feature, the highlight moves to the bottom of the list, and draws correctly.
PATHS after hitting next

PATHS after clicking to select

any ideas? Kelly Hutchins Derek Swingley Jonathan Uihlein