Customize horizontal and vertical grid lines

Hello,

I know that SfCalendar supports the cellBorderColor option. I wonder whether it is possible to change the color of horizontal grid lines and vertical grid lines independently. We are trying to hide the vertical lines in the 1-day time grid view, but could not find a way to achieve that.



5 Replies

IR Indumathi Ravichandran Syncfusion Team June 6, 2022 06:59 AM UTC

Hi Marco,


Based on the shared information, we have checked and your requirement is “To change the color of horizontal and vertical lines in the Flutter Calendar”. As per the current implementation of the calendar doesn’t have a support to change the color of horizontal and vertical lines, also there is no support to hide the vertical line. But using the timeRulerSize value as 0 you can hide the timeRuler with the vertical line near the time ruler. Also, if possible can you please share the details for hiding the vertical line in the day view? it would be helpful for us to analyze and provide you a solution at the earliest.


We hope that this information helps you. Please let us know if you need further assistance.


Regards,

Indumathi R



NI Nick June 7, 2022 11:56 AM UTC

Thanks for this interesting information.



IR Indumathi Ravichandran Syncfusion Team June 8, 2022 06:37 AM UTC

Hi Nick,


If you are satisfied with our response, please mark it as an answer. Otherwise, please let us know if you have any further queries on this. We are happy to help you.


Regards,

Indumathi R



MA Marco Ancona June 8, 2022 09:10 AM UTC

Hi!

Thanks for your fast reply. Unfortunately, the timeRulerSize ​is not a solution for us because that also hides the time labels, not only the grid line. My understanding is that only hiding the vertical grid lines is currently not supported, so I would like to suggest this as a feature request. Ideally, the color, thickness, and style of the vertical and horizontal grid lines could be customizable independently.



IR Indumathi Ravichandran Syncfusion Team June 8, 2022 10:17 AM UTC

Hi Marco,


We regret to inform you that as per the implementation of Calendar, we do not have support for cell (horizontal and vertical line)  border color independently and we do not have immediate plan to implement this requirement.


Regards,

Indumathi R


Loader.
Up arrow icon