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. Image for the cookie policy date

Grid attempting to drag with all dragging options disabled?

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

2 Replies

AD Administrator Syncfusion Team 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.


KI Kai Iske 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.

Loader.
Live Chat Icon For mobile
Up arrow icon