ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2015-03-18 04:53:34

AB Zaman
Member
Registered: 2015-02-23
Posts: 14

Drag n Drop

In connection to (http://forum.reogrid.net/viewtopic.php?id=42) :

I know the drag and drop and be enabled by following line;

sheet.SetSettings(unvell.ReoGrid.WorksheetSettings.Behavior_DragToMoveCells, true);

But how can I add event for it, or get the dragged or dropped data cells/rows/column?

Offline

#2 2015-03-18 04:59:54

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Drag n Drop

No events for dragging range available now. I will add them.

Offline

#3 2015-03-24 15:07:35

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Drag n Drop

There is the preview download of next release.

http://reogrid.net/preview-download/

The following event has been added:

- AfterRangeMove

Last edited by Jingwood (2015-03-24 15:07:46)

Offline

#4 2015-04-10 05:13:36

AB Zaman
Member
Registered: 2015-02-23
Posts: 14

Re: Drag n Drop

Hi Jing,
Can you please give any example code, for above new event? There seem to be no way of retrieving the data which was there before dropped event?
I can get the From and To ranges but since, its "after" move event, I cant get the old data, that was there. The ToRange also gives me the new dragged data. Or may be Im missing something....
Thank you,

Offline

#5 2015-04-11 17:07:16

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Drag n Drop

OK, an update version would be available soon. Current dragging process is not good enough, there should be able to catch events when user clicked on selection range before and after move it.

Offline

Board footer

Powered by FluxBB