Im having a problem displaying a query.
i tried it both on a graphic layer and a feature layer
the code is the same for both except the layer is different type and the apply is accordingly different
feature layer code:
graphic layer code:
on change a query happens and displayed with a different renderer.