cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Week Number from DatePicker ?

former_member243729
Participant

How to hide Week Number from DatePicker in SAPUI5.

View Entire Topic
Private_Member_221638
Participant
0 Kudos

The class that's responsible for the weeknumbers is sapUiCalWeekNum. So I added 'visibility:hidden !important;' to that class in my style.css.

Not the ideal solution, but SAP has no standard way of hiding the weeknumbers. And it's not on the roadmap.

saurabh_v
Active Participant
0 Kudos

If you are using the sap.ui.unified.Calendar control and SAPUI5 version >= 1.48, then the showWeekNumbers property can be used to hide the week numbers from the Calendar. I have tested this on SAPUI5 1.52.13 and this works well.

Private_Member_221638
Participant
0 Kudos

Indeed Calendar has this functionality, but it's a different control. In my case it's no alternative for DatePicker.