2 Replies Latest reply on Apr 30, 2008 12:30 PM by ntsiii

    tabnavigator determine selected index

    nrutter Level 1
      I am having some trouble with a datagrid inside a tabnavigator. I have tabs that can be added dynamically. What I am trying to do is a search function within each tab. I search for an item and if it finds the item then it adds it directly to the datagrid. The problem is that if I am on tab two it automatically ads it to tab one also. How do I fix this?

      private function doAddProduct():void{
      this.tabVO.acProd.addItemAt(model.currentFoundProduct);
      sku.setFocus();
      }