I want to add a new column to display an additional info to events listed below if a day selected in Event calendar.
By default gradient will have the Timestamp,a divider(Line-color variable on event type), Description of event. ( Default gradient looks like–“All-day | Description…”)
I want to change gradient like this “adding a column(small block of 2 letters or a thick colored line varies on event type. ), Time stamp,divider(line), Description of event” .( I want to make it look like this – " ‘AB’ All-day | Description")…
Based on this example, you can create your own styling using the following classes: .my-block - your small block of 2 letters .my-desc - your description .mbsc-event-time - time stamp .mbsc-event-color - divider
Example for the styling:
/* position the block */
.my-event-cal .my-block {
position: absolute;
left: 14px;
}
/* leave space for the block */
.my-event-cal .mbsc-event-time {
margin-left: 15px;
}
First of all thanks a lot for help, I have not implemented it but will try and update it soon.
I have raised an other query topic name-- “Events label not properly Working on month calendar” Could you please help me out of that… Thanks in advance.
I have tried it , Sorry I may have not expressed properly … My requirement is like below screenshot. Is there any way to achieve it… I want to add that color stripes for every events where the colors are variable depending on type of events
I have tried using the above code. It’s not working as expected.When I follow the exact code. then it was looking like below Image.Here the color of divider is changing but, it should not vary.Instead of that a color block should be appeared at starting of the Event