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: November 16, 2018).
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:

Created:

Updated:

Platform:

Replies:

1803 Nov 27,2002 12:02 PM UTC Nov 27,2002 01:25 PM UTC WinForms 2
loading
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 01:00 PM UTC

You can turn off this drop cursor by removing the OleDataSource flag from the GridControl.ControllerOptions flag. But, this also may have an effect on your full-row dragging implementation depending upon whether your code depends upon this OleDtaSource property being set. If it does, let me know and maybe I can suggest another solution.

Kai Iske
Replied On November 27, 2002 01:25 PM UTC

Does it, works like a charm. Thanks Kai > You can turn off this drop cursor by removing the OleDataSource flag from the GridControl.ControllerOptions flag. But, this also may have an effect on your full-row dragging implementation depending upon whether your code depends upon this OleDtaSource property being set. > > If it does, let me know and maybe I can suggest another solution.

CONFIRMATION

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.

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

;