on 09-19-2014 9:33 AM
Hi,
I am new in SAP UI5 ,and want to make a calendar which will be in header of page and showing 5 days (with date) of a week only(excluding Saturday & Sunday).
The condition is that only current date should be enabled and also should be in the middle of the 5 days always.
I have problem in disable of other 4 days ,exclusion of (Saturday & Sunday) and middle of enabled day.
Regards,
Narendra
Hi Kimmo,
It helped me very much in coding part......Thanks.
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a new control which displays the week days. I would start by adding five controls (one for each day) in a HBox. Then using a DateFormat you could display days in the control. Weekend could be skipped, e.g, by checking whether currentDate.getDate()-1 is Saturday or Sunday
Here's a jsbin example with which you could start developing:
http://jsbin.com/zatenuromure/3/edit
Regards,
Kimmo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.