
Dave Myers
Top achievements
Rank 1
Dave Myers
asked on 07 Nov 2008, 06:12 PM
I have managed to override the style properties of the grid but am having trouble figuring out where i would set the CssClass for items that are being dragged. What I am after is the dashed line indicating where the item will be dropped if you let go of the mouse button. Is there something like "ItemStyle-CssClass" for the Drop Indicator?
4 Answers, 1 is accepted
0
Accepted
Hello Dave Myers,
In order to modify the drop indicator's style, you can override its css class rules by placing on the page similar to the following css class definition:
Please note that you should replace the GRIDSKINNAME with RadGrid's current skin name.
Best wishes,
Rosen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
In order to modify the drop indicator's style, you can override its css class rules by placing on the page similar to the following css class definition:
.GridItemDropIndicator_GRIDSKINNAME |
{ |
border-top:2px solid blue !important; |
} |
Best wishes,
Rosen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Dave Myers
Top achievements
Rank 1
answered on 11 Nov 2008, 02:41 PM
I had found that in the documentation, but I am not creating a custom skin. Would id just override the css for GridItemDropIndicator_Default?
0
Hello Dave,
Currently there is no way to override declaratively the skin styles for the drop indicator. Please, use the approach suggested by my colleague.
Regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Currently there is no way to override declaratively the skin styles for the drop indicator. Please, use the approach suggested by my colleague.
Regards,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Dave Myers
Top achievements
Rank 1
answered on 11 Nov 2008, 03:37 PM
I ended up using .GridItemDropIndicator_Default and it worked. Thanks for the help.