                 highLightCell.setSelected(false, animated: false)
             }
         }
-        let node = self.right.getDataItem(indexPath) as! rightNodeModel
+        let node = self.tableData.getDataItem(indexPath) as! rightNodeModel
         Msg.send("ChangeTab",[node.nodeTab])
         Msg.send("closeDrawer")
     }

fileprivate class RightTable : RightTableWithData{
    override init(frame: CGRect, style: UITableViewStyle) {
        super.init(frame:frame,style:style)
        right = RightTableData()
        backgroundColor = UIColor.clear
        estimatedRowHeight=100;
        separatorStyle = .none;

        if currentTab == nil {
            currentTab = "all"
        }
        self.tableView.currentSelectedTabIndex = (tableView.tableData as! RightTableData).rightNodes.index { $0.nodeTab == currentTab }!
        
        self.backgroundImageView = UIImageView()
        self.backgroundImageView!.frame = self.view.frame
