Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    listgrid custom drag and drop

    Hi,
    We need a custom drag and drop behavior on list grids, so want to check with you if it is possible. If yes, can you also provide some related links?
    1. We have "List Grid A" & "List Grid B"
    2. On dragging a record from "List Grid A" to over a record in "List Grid B", state of that record in "List Grid B" should change.
    3. And no change should happen to the original record in "List Grid A"

    We use Smartgwt 2.4 pro version.

    Thanks,
    Ankur

    #2
    Use the RecordDrop event, use event.cancel() to avoid the default behavior, then do whatever you want.

    Comment


      #3
      thanks for the reply. Is it also possible to change the look of the blue lines that appear when dragged record is mover over the target grid.
      We want to show the row in different color in place of blue line.

      Comment


        #4
        The DropOver / DropMove / DropOut events would allow you to create a custom drag appearance.

        Comment

        Working...
        X