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

Remove vertical border between cells?

Asked by Bert
9 years ago.

Hello,

Is there a way to remove the vertical border between cells? I'm trying to remove just the ones that are part of a single day, not the ones between two days.

I looked in the code, but each vertical line has only one css class: scheduler_default_matrix_vertical_line

And setting the background-color to transparent will hide all of them.

Is there a way to differenciate between vertical lines and hide just the ones I need?

Thanks!

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

You will need to hide it using CSS (scheduler_default_matrix_vertical_line) and add only the desired ones:

1. Create a custom grid cell class with { border-right: 1px solid #eee; } and add it to the selected cells using onBeforeCellRender.

http://doc.daypilot.org/scheduler/cell-customization/

2. Or use separators:

http://doc.daypilot.org/scheduler/separators/

Comment posted by Bert
9 years ago.

Perfect, thanks again!

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