I have an advanced datagrid that has a grouping on it. With the items inside of the grouping I have it setup where you double click on an item and it will create a popup that allows the user to edit that entry. The problem that I am having is that I can double click on the group title and the popup is activated with blank information. How do I prevent this from working?
Here is the mxml code
<mx:AdvancedDataGrid id="plugList" designViewDataType="tree" width="100%" height="100%"
initialize="gc.refresh();" doubleClickEnabled="true" itemDoubleClick="plugList_itemDoubleClickHandler(event)">
<mx:dataProvider>
<mx:GroupingCollection2 id="gc" source="{plugs}">
<mx:grouping>
<mx:Grouping>
<mx:GroupingField name="traderTitle"/>
</mx:Grouping>
</mx:grouping>
</mx:GroupingCollection2>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn headerText="Title" dataField="traderTitle"/>
<mx:AdvancedDataGridColumn headerText="Anchor" dataField="traderAnchor"/>
<mx:AdvancedDataGridColumn headerText="URL" dataField="url"/>
<mx:AdvancedDataGridColumn dataField="status" headerText="Status" width="75"/>
</mx:columns>
</mx:AdvancedDataGrid>