Our powerful JS Calendar component


Post by ducminh1511 »

Hello friends,

I have an issue, how can I hide the week number shown to the left of the month view

Attachments
task_3.png
task_3.png (25.67 KiB) Viewed 171 times

Post by mats »

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by ducminh1511 »

Hi mats,

I tried your way, but it doesn't work

Attachments
showeekcolumn.png
showeekcolumn.png (12.07 KiB) Viewed 167 times

Post by Animal »

Just uses CSS:

.b-monthview .b-week-num {
    display: none;
}

Post by Animal »

It is actually useful though.

You know clicking on it takes you to that week in the WeekView mode.


Post by Animal »

Maybe having the weeks number in a separate column would suit you more?

Screenshot 2021-02-18 at 13.54.13.png
Screenshot 2021-02-18 at 13.54.13.png (34.66 KiB) Viewed 163 times

That doc links in a previous post. You see that the config is not a config of the Calendar. It's a config of the child month view.

Maybe this would look nicer for you:

modes : {
    month : {
        showWeekColumn : true
    }
}

Post by ducminh1511 »

Thank you, it worked


Post Reply