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

GridItemDropIndicator

4 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
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

Sort by
0
Accepted
Rosen
Telerik team
answered on 11 Nov 2008, 07:51 AM
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:

.GridItemDropIndicator_GRIDSKINNAME  
{  
    border-top:2px solid blue !important;  
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.
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
Dimo
Telerik team
answered on 11 Nov 2008, 03:33 PM
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.
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.
Tags
Grid
Asked by
Dave Myers
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Dave Myers
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or