def setRecords(self, records):
        """
        Manually sets the list of records that will be displayed in this tree.
        
        This is a shortcut method to creating a RecordSet with a list of records
        and assigning it to the tree.
        
        :param      records | [<orb.Table>, ..]
        """
        self._searchTerms = ''
        
        if not isinstance(records, RecordSet):
            records = RecordSet(records)
        self.setRecordSet(records)
def setRecords ( self , records ) : self . _searchTerms = '' if not isinstance ( records , RecordSet ) : records = RecordSet ( records ) self . setRecordSet ( records )
Manually sets the list of records that will be displayed in this tree.
        
        This is a shortcut method to creating a RecordSet with a list of records
        and assigning it to the tree.
        
        :param      records | [<orb.Table>, ..]