private function getWidgetItems(widgetList:Array):ArrayCollection { var menuItems:ArrayCollection = new ArrayCollection; var widgetItem:WidgetItem; for (var i:int = 0; i < widgetList.length; ) { //If widgetList Item label equals the widget you want to eliminate if(widgetList.label == "Your widget Label") continue; //End of additional code
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.