jQWidgets Forums

jQuery UI Widgets Forums Grid Drag Row not aligned with cursor

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Drag Row not aligned with cursor #30152

    realtek
    Participant

    Hi,

    When dragging a row from the Grid, it always basically pulls the field data out from where it currently sits in the column.

    For example, if I have a grid that displays the following rows/ceels:

    “Test” “Test2” “Test3”

    if I drag the row, it pulls the Text from the cell.

    Is there anyway to get it to immediately have the text under the cursor?

    The main reason that its an issue is because I have changed the dragging content to be an Image.

    If you start drag quite a few pixels away from the text in the column then the image is very far away from the cursor. Really it should be under the cursor.

    Thanks

    Drag Row not aligned with cursor #30213

    Peter Stoev
    Keymaster

    Hi realtek,

    Drag starts when you start dragging a row and the offset depends on the offset from the Row’s top-left edge. You cannot change that offset to fit to your custom drag feedback.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.