Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

Re: My Timesheet v2 app extension

$
0
0

so technically you can use the same logic to calculate width of day

 

//oControl is a sap.me.Calendar

 

var aWeekDays = oControl.getDays();

var iWeekDays = aWeekDays.length;

var iWeeksPerRow = oControl.getWeeksPerRow();

var iDaysInRow = iWeeksPerRow * iWeekDays;

var iDayWidth = (100 / iDaysInRow);

 

 

 

 

//oRm.addStyle("width", iDayWidth + "%");

 

 

 

that calendar is in S3.view.xml so you would need cretea an extension to modify it


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>