We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid attempting to drag with all dragging options disabled?

Thread ID:





1804 Nov 27,2002 12:02 PM UTC Nov 27,2002 05:30 PM UTC WinForms 1
Tags: GridControl
Kai Iske
Asked On November 27, 2002 12:02 PM UTC

I'm having a strange situation here: I have implemented my own full-row dragging without column 0 row selection/dragging. The user shall be able to click on specific cells and drag them to a new row resulting in the whole row being moved to the new location. This works like a charm, but: When I click select the cell that is used for dragging and then move the mouse to the lower bounds of the cell, the mouse pointer turns to the Drag/Drop Move cursor and it seems the Grid is attempt to perform a standard content move of the cell's data, allthough I have set the following (dragging related) properties: ShowCurrentCellBorderBehavior=HideAlways ActivateCurrentCellBehavior=None AllowDragSelectedCols=False AllowDragSelectedRows=False DragSelectedCellsMouseButtonsMask=None AllowSelection=None SelectCellsMouseButtonsMask=None Actually, what I want is to get rid of any attempts to drag/move/select any cells within the Grid and handle these things myself, but maybe there is a simpler way to achieve this using built in functionality. Thanks for any help Regards Kai Iske DWS Investments

Administrator [Syncfusion]
Replied On November 27, 2002 05:30 PM UTC

Ole Drag&Drop is still enabled in that case. Try handling QueryCanOleDragRange and set e.Cancel = true. All these operations could also be completely disabled by turning off the associated MouseControllers. See Model.Options.ControllerOptions. Stefan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon