code: def restoreXml(self, xml):
          
          if xml is None:
              return False
          
          # restore grouping
          grps = xml.get('grouping')
          if grps is not None:
              self.setGroupingActive(True)
              self.setGroupBy(grps.split(','))
          
          # restore grouping enabled
          grp_enabled = xml.get('groupingActive')
          if grp_enabled is not None:
              self.setGroupingActive(grp_enabled == 'True', autoRefresh=False)
          
          # restore standard tree options
          return super(XOrbTreeWidget, self).restoreXml(xml)
docs: Restores data from the xml entry.
          
          :param      xml | <xml.etree.ElementTree.Element>
          
          :return     <bool> | success