This is a migrated thread and some comments may be shown as answers.

[Solved] Drag and Drop among cells of grid

3 Answers 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos Marchi
Top achievements
Rank 1
Carlos Marchi asked on 18 Nov 2009, 02:06 PM
Hi Everybody,

There is a grid where there are two columns: Hour and People. This grid is inicialyzed just the first column (Hour). So, Hour coluns has many cells, such as: 8:00 9:00 10:00 ... 00:00.

So, there is a row for each hour. Well, the user move the people on a row of this grid.for exemaple the firs row the hour cell is 8:00 and people cell is: Mike, John...

Then, I'd like to know if is it possible the user clicks on a people cell, or better, the user clicks on a person of a row and then the user move this person to another row, for exemple:

first row:
hour     | People
8:00     | Ana, Tom, Mike

second row:
hour     | People
9:00     | Tomas, Bob

Then, the user clicks on Ana person and then to move her on second row, see this example:
first row:
hour     | People
8:00     | Tom, Mike

second row:
hour     | People
9:00     | Ana, Tomas, Bob

Is it possible to do it?/ Or Does anybody has another idea to do another manager?

Thank you for attention

Carlos

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Nov 2009, 02:29 PM
Hi Carlos,

The described functionality is not supported by RadGrid, but I suggest you to take a look at RadScheduler. If you think of the people as "resources", you can move them over the time matrix as in the following demo:

http://demos.telerik.com/aspnet-ajax/scheduler/examples/resources/defaultcs.aspx

All the best,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Carlos Marchi
Top achievements
Rank 1
answered on 19 Nov 2009, 05:35 PM
Hi,

Thank you for attention and your answer. I have more one question...

In this example that you sent me, I'd like to know if it possible drag items from grid to this component?

If it is, please Could you sent me an example about it?

Thank you so much

Carlos
0
Dimo
Telerik team
answered on 20 Nov 2009, 12:37 PM
Hello Carlos,

Here is a demo:

http://demos.telerik.com/schedulebuilder/

The source code download link is at the top-right corner.

Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Carlos Marchi
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Carlos Marchi
Top achievements
Rank 1
Share this question
or