             count = addedItems.length;
             for (i = 0; i < count; i++)
             {
-                itemSelected(dataProvider.getItemAt(addedItems[i]), true);
+                itemSelected(addedItems[i], true);
             }
         }
     }

     */
    private function dataGroup_itemAddHandler(event:ItemExistenceChangedEvent):void
    {
        var renderer:Object = dataGroup.getItemRenderer(event.relatedObject);
        
        if (renderer)
            renderer.addEventListener("click", item_clickHandler);
            
        if (isItemSelected(event.relatedObject))
            itemSelected(event.relatedObject, true);
    }
    
    /**

            count = removedItems.length;
            for (i = 0; i < count; i++)
            {
                itemSelected(removedItems[i], false);
            }
        }
        
