search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Remove Shadow in Drag and Drop

Asked by Acicatech
6 years ago.

I need to take off the shadow when i make drag and drop. If is possible remove all shadows.

Lot of Thanks.

Comment posted by Acicatech
6 years ago.

I need a solution because I have bought this product, in case it is necessary to contact by another media please let me know. Need a solution as urgent as possible to remove all shadows.

Thank you very much

Answer posted by Dan Letecky [DayPilot]
6 years ago.

Sorry for the delay!

What exactly do you mean by the "shadow"? Is that the semi-transparent div that indicates the target position during drag and drop? You can modify the appearance using CSS (create a theme using https://themes.daypilot.org/ and change the *_shadow style in the generated CSS).

If you want to disable the drag and drop you need to set individual *Handling properties to "Disabled", e.g.

dp.eventMoveHandling = "Disabled";
dp.eventResizeHandling = "Disabled";
dp.timeRangeSelectedHandling = "Disabled";
Comment posted by Acicatech
6 years ago.

Thank you very much for your response.

Yes, it's the semi-transparent part, I've tried but I can't find the exact part to modify in the css so as not to show the semi-transparent indicator. It is by modifying the code or simply commenting on it and in which classes of *. css would you have to do it. I'm using the default theme.

Comment posted by Acicatech
6 years ago.

Hello, could someone please help me. Thank you

Comment posted by Dan Letecky [DayPilot]
6 years ago.

You can override the default CSS theme as described here:
https://forums.daypilot.org/Topic.aspx/4141/schedular-selected-event-backcolor

You can also generate a new theme using the theme designed (https://themes.daypilot.org) and edit the output CSS as needed. Look for the following selector:

.THEME_selected .THEME_event_inner { ... }
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.