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

Drag and Drop grid rows

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roger Hynne
Top achievements
Rank 1
Roger Hynne asked on 26 Mar 2015, 04:37 PM
Hello rich Telerik Community,

I am into a strange problem, and couldn't find any clue that what's wrong!!

I want to use the drag and drop functionality of rad grid which is very attractive and effective for the experience of my user. The drag and drop function is working for the first item in the grid, but it doesn't work for the following items.

I am getting the error in the console window of my chrome broswer


Uncaught TypeError: Cannot read property 'attributes' of null
b._saveCellAttributes
Telerik.Web.UI.GridTableView.get_dataItems
Telerik.Web.UI.GridSelection._selectRowInternal
Telerik.Web.UI.GridSelection._click
(anonymous function)
b


I noticed that this error pops up when I click on the row. I don't know what is this. I am afraid that I will not be able to isolate the code for this problem, so it would be nice if someone can share their experience if they had this same issue. Any general idea will help me, I can give it a try.

Thanks



1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 31 Mar 2015, 10:23 AM
Hello Roger,

Can you please verify whether you've enabled the row selection which is required by the drag-n-drop feature? I suggest that you examine the provided web site sample in the following resource and compare it with your own application:
http://www.telerik.com/support/code-library/cancel-row-drag-and-drop-when-esc-key-is-pressed

Regards,
Eyup
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Roger Hynne
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or