Sets the table that will be linked with the drag query for this
        record.  This information will be added to the drag & drop information
        when this record is dragged from the tree and will be set into
        the application/x-table format for mime data.
        
        :sa     setDragQuery, XTreeWidgetItem.setDragData
        
        :param      table | <subclass of orb.Table>

def setDragTable(self, table):
        """
        Sets the table that will be linked with the drag query for this
        record.  This information will be added to the drag & drop information
        when this record is dragged from the tree and will be set into
        the application/x-table format for mime data.
        
        :sa     setDragQuery, XTreeWidgetItem.setDragData
        
        :param      table | <subclass of orb.Table>
        """
        if table and table.schema():
            self.setDragData('application/x-orb-table', table.schema().name())
        else:
            self.setDragData('application/x-orb-table', None)