This is a retired product. Not reproducible in the latest build. If you are still encountering this issue, please contact Esri Technical Support.
対処法
The two examples use a different ‘mode’ of the feature layer and thus have different behaviors. The sample uses a snapshot mode where as the viewer uses an onDemand mode (the default for the featurelayer).