I am using the drag and drop feature on the grid to swap rows. The challenage is the dotted line that shows above or below the drop row is confusing to users. Is their a weay to hide the dotted line above or below an item that's being dragged too?
Thanks,
Todd.
Thanks,
Todd.
4 Answers, 1 is accepted
0
Accepted

Shinu
Top achievements
Rank 2
answered on 12 Oct 2011, 05:05 AM
Hello Todd,
Try the following CSS to hide the DropIndicator.
CSS:
Thanks,
Shinu.
Try the following CSS to hide the DropIndicator.
CSS:
<style type=
"text/css"
>
.GridItemDropIndicator_Default
{
display
:
none
!important
;
}
</style>
Thanks,
Shinu.
0

Todd A
Top achievements
Rank 1
answered on 14 Oct 2011, 02:31 AM
Worked great. I just needed to change Default to the skin name.
Thanks,
Todd.
Thanks,
Todd.
0

Bill
Top achievements
Rank 1
answered on 07 Feb 2014, 05:31 PM
Is there a way to highlight the whole drop area on the grid? The way the line switches from top to bottom is the confusing part.
0
Hello Bill,
The Drag & Drop functionality of RadGrid is used for drag and drop grid records to reorder them within the same grid, move them to different grid instance or drop them over other html element on the page. The shown line indicates on which position the dragged item will be dropped. Since the items are not dropped over another items, but rather between two (or at first/last position), highlighting an entire row will mislead the user.
If the above does not match what you have in mind, please elaborate on the exact requirement that you have and in particular, what the "whole drop area on the grid" refers to.
Regards,
Konstantin Dikov
Telerik
The Drag & Drop functionality of RadGrid is used for drag and drop grid records to reorder them within the same grid, move them to different grid instance or drop them over other html element on the page. The shown line indicates on which position the dragged item will be dropped. Since the items are not dropped over another items, but rather between two (or at first/last position), highlighting an entire row will mislead the user.
If the above does not match what you have in mind, please elaborate on the exact requirement that you have and in particular, what the "whole drop area on the grid" refers to.
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.