code: def viewItem(self):
          
          if type(self._viewItem).__name__ == 'weakref':
              return self._viewItem()
          return self._viewItem
docs: Returns the view item that is linked with this item.
          
          :return     <XGanttViewItem>