code: def _on_release(self, event):
          
          if self._drag_cols or self._drag_rows:
              self._visual_drag.place_forget()
              self._dragged_col = None
              self._dragged_row = None
docs: Stop dragging.