

def getToolTip(self, tvRowId, tvColId):
    if (tvColId == '#7'):
        try:
            modelFact = self.modelXbrl.modelObject(tvRowId)
            footnoteRels = self.footnotesRelationshipSet.fromModelObject(modelFact)
            if footnoteRels:
                fns = []
                for (i, footnoteRel) in enumerate(footnoteRels):
                    modelObject = tvRowId.toModelObject
                    if isinstance(modelObject, ModelResource):
                        fns.append('Footnote {}: {}'.format((i + 1), modelObject.stringValue))
                    elif isinstance(modelObject, ModelFact):
                        fns.append('Footnoted fact {}: {} context: {} value: {}'.format((i + 1), modelObject.qname, modelObject.contextID, modelObject.value))
                return '\n'.join(fns)
            else:
                return None
        except (AttributeError, KeyError):
            pass
    return None

dataset/ETHPy150Open Arelle/Arelle/arelle/ViewWinFactList.py ViewFactList.getToolTip/VarMisuse@75/120 `footnoteRel`->`tvRowId`