My requirement is that I need to create a simple sap.ui.unified calendar and once I click on a particular date in the calendar,it should navigate to a SAP Planning calendar which should give the meeting details for the particular day alone.I have created the sap.ui.unified calendar and a seperate sap planning calendar.Iam unaware of how to navigate to a particular date's event in planning calendar on click of a date in smple calendar. Can anyone help me how this can done?I have used the "select" event for the calendar.But it selects the whole calendar.Can anyone provide code of how an event can be applied to a particular date for a calendar?
You can use this method for single date selection (api) of class sap.ui.unified.Calendar:
getSingleSelection();
After event select (which you used) is raised.
You can get the selected date from the calendar with the method oCalendar.getSelectedDates().
There is also an example in the OpenUI5 Explored on how to get the selected date.
Related
I am currently working on a project where the given user needs to fill out a form to add an activity. There is a filter which selects which month this applies to. There is a calendar where a date is selected from. The issue is that the calendar works properly when the current date is in the selected month as such:
The current month popup view
The current month filter
But when the filter is applied to a month that isn't the current one, the view lacks behind as such:
The current month filter
The error full popup
I have tried the use of the active start date yet, I can't seem to ensure that the active start date is applied for the month. Are there any known solutions? I have my code snippet attached below:
Code of the parameters
Code of the React Component Returned
The date is given by another component which is updated with the use state according to the filter applied.
Following are the two images i am being trying to implement
Can this functionality be added in all day event in week view
after clicking on 2 more it should expand
Is there anything been implemented in react-big-calendar to help me with this
React-Big-Calendar handles this via a popup, instead of inline. They have an example in their documentation.
I'm using fullcalendar script for my app. My requirement is to modify the full calendar day view in such a way that it will have multiple columns in a single day agenda view. Is it possible to do the modification in the full calendar to have this thing ?
-
I am using codeplex wpf toolkit and want to show current date at the bottom of calendar same as date time picker of windows form shows, tried various properties but could not find a solution. Please help
If i understand you correctly,you want to show the current selected date in the calender part of the datepicker.For that you want to customize the control template of the Datepciker COntrol.Go through the link below to get started
http://msdn.microsoft.com/en-us/magazine/dd882520.aspx
Edit
To have a Today Button in the calender check the below thread
http://wpf.codeplex.com/discussions/85516?ProjectName=wpf
Is there any property , option available in the date picker control so that if user want to select today from any date from current date ?
e.g if user is view current month of last year then he has the option to select current date ?
just see this link and how they are implementing the Today button in the Datepicker WPF Toolkit). This link is from the WPFToolkit discussion forum. May be this will help you.
http://wpf.codeplex.com/Thread/View.aspx?ThreadId=85516
i think there is no option that there is a button directly in the control.
You can use a button outside the control, or something like this to set the current date.
Or you build a custom control....
I just hacked together a simple example. It is VS 2010. www.mbgr.de/CurrentDateWpf.zip.
No warranty at all on this one. Use at your own risk :-)