jQWidgets Forums

jQuery UI Widgets Forums Grid Drag and Drop with "multiplerowsextended" …

This topic contains 6 replies, has 5 voices, and was last updated by  unknown 4 years, 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author

  • stephan
    Participant

    Hi,

    I tried to combine drag and drop behaviour for drid rows with selection style “multiplerowsextended”, but with horrible results. Apparently the “selection box dragging” feature of jqxGrid and the drag and drop feature of jqxDragDrop kick in simultaneously.

    I had a look at the demo examples, but they uses selection mode ‘multiplerows’, which for my app gives a totally wrong selection behaviour. I absolutely need the standard “Ctrl+Shift Click” selection behaviour.

    So my question is: how do I combine correctly the selection mode “multiplerowsextended” with drag and drop ?

    It would be perfectly OK for me to just disable the “selection box dragging” of jqxGrid. I do not need or want that and it appears to be the main problem here. Maybe that could be a slution ? Problem here is: I could not find an option to disable this feature.

    Regards,
    Stephan


    Peter Stoev
    Keymaster

    Hi,

    You can’t. The reason is that type of selection includes drag & drop, too.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    stephan
    Participant

    Hi,

    Ahhh yes … bu what do you mean by “includes drag and drop too” ? Because drag and drop is what I want so if I could hook into that it would be great. What I dont need is this rectangular selection frame that appears when you hold down your mouse button in “multiplerowsextended”, so if that could be disabled it would also be great.

    All I really need is standard Windows like Click + Shift-Click + Control-Click multiple row selection selection with the ability to drag the current selected rows onto a different panel.

    Ok, another way you could implement it is to mimik more closely the way that for instance Windows does it: If the mouse-drag operation begins on top of something that is already selected it becomes a real drag&drop operation. If the mouse-drag begins outside of anything that is selected it becomes a selection frame operation. Yet it never becomes both at the same time.

    That said I am now looking into coding my own selection algorithm for the grid. Sadly, for my application and the requirements I must fullfill, the grids built in selection behaviour is an absolute no go.

    Regards,
    Stephan


    hypertyper
    Participant

    Hi,

    I ran into the same problem. Did you solve it?

    Regards
    Robert


    hypertyper
    Participant

    Solved… Just for anyone who is running into the same problem: There’s an undocumented selectionmode: multiplerowsadvanced
    Use this selectionmode instead of multiplerowsextended and everything works well! 🙂


    Manish.talwar
    Participant

    Hi Team,

    I want to auto scroll content with in the JqxGrid, when I try to select multiple rows by click and drag rows with in grid.
    Selectionmode is multiplerowsextended. I am able to select but not able to select content that are not visible on screen.

    Could you help me with this issue.

    Regards,
    Manish


    unknown
    Participant

    I have a grid that has 100 items page size. However, grid has visibility of 10 rows. I need to be able to select the rows that are in the invisible area (meaning when i select a row and drag the mouse to be able to select multiple rows, so the grid needs to scroll while i am dragging the mouse and select the new visible rows.) shift+down is working but drag and scroll not working for invisible area(screen)

    Thanks

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

You must be logged in to reply to this topic.