Renderer on a Feature Layer Selection Set

Discussion created by rvamshi on Aug 19, 2013
Latest reply on Aug 23, 2013 by rvamshi
On a feature layer, applying an unique value renderer is providing the necessary symbology - based on an attribute field, the renderer is applied to all features in the feature layer. Now, the renderer needs to be applied only to the "selected features" of the feature layer:

featureLayer.selectFeatures(selectQueryTask, esri.layers.FeatureLayer.SELECTION_NEW);

On these selected features (using getSelectedFeatures() or other property), how can I apply the renderer? Any suggestions will be helpful. Thanks in advance!