SAPUI5 DateTimeInput open by Button - sapui5

I'm using a sap.m.DateTimeInput in my XML View. When the input is clicked the DatePicker Popup is opened. Now I want to add a Button beside the DateTimeInput, and let open the Date popup on button click. DateTimeInput provides no method to open the Popup as far as i know. I'using SAPUI5 version 1.28.
How can i achieve this ?
I'm a little bit lost in Borwser Events, handlers and so on.

Check out the Date Picker control. I think that this control is what you want.
Date Picker Control

Related

Is there a way to open MUI StaticDateTimePicker to the text input view?

Is there a way to open up the StaticDateTimePicker MUI component to the input text field view? I've read through the documentation a few times now and I just can't seem to find it. I am not even sure if it's possible.
I would like to open up the component to this view:
The only way I managed to do this is to manually dispatch a click event on the button in the top right corner.

Is there a way to add a "Go to today" to a JavaFX DatePicker?

The title says it all: I have a JavaFX DatePicker and am looking for a way to add a button which, upon a click to it, goes to the current date or at least the current month.
Is there a way to do this?
BTW, I'd like to have this button inside the DatePicker, maybe above the month calendar.
Do I have to modify the skin?
I believe this would work for you
datePicker.setValue(LocalDate.now());
Inside the button action function you can add this code to set the datepicker to the local date

Combobox in automatically closing popup

I'm new to React Native and want help with form making. I need a combobox, where a user should choose an option from several. When user clicks the combobox component, I want options in something like a popup on screen without going to another page, and once the option is chosen the popup or whatever automatically closes.
I created a standard combobox to select the option, but I want to show options in a popup with closure when the option has been chosen.
Is there anyone can help me?
You can use the Picker component.
Also check this library - it wrap native pickers. I believe you will get a popup picker in Android and a bottom-modal picker in iOS (just like native)
Oh, almost 2 years since you asked this question. But, maybe there are others who come up to this thread & wants to know the other option to display combobox like popup. This react-native-material-dropdown might be great for you. Try it !

UI Design for UIDatePicker in iOS

I have experience in Android and currently started to learn iOS. I created a mechanism to Pick data in an Android App. When I click on Date button, a DatePicker pops up:
As you see It has Cancel and Set button.
My question is about my iphone App. I want to have the same mechanism. When I click on the button, Date picker pops up (that can have Set and cancel button like Android Date picker). How can I do that? I'm not sure that it is a good way in iPhone, Can you help me if we can design a better mechanism?
Here's a UX comparison between Android and iOS standard widgets, with links to the documentation on the relevant Apple / Android websites. It's a nice way to get started learning all the technical terms.
http://kintek.com.au/blog/portkit-ux-metaphor-equivalents-for-ios-6-and-android-4/
Hopefully that gets you started.
Apple has a sample project that demonstrates this. You'll have to adapt it slightly: instead of showing/hiding the date picker itself, you'll want to show/hide a view containing a date picker and a dismissal button.
It's called DateCell.
Basically, it treats the date picker as if it were the keyboard for a cell containing the date. You'll need to manage hiding it when the user enters a text field (and thus, needs the real keyboard) and scrolling to keep the date row in view, but all the bits you need are in this project one way or the other.
One way to do it would be add a custom buttons to the same view containing date picker and then pop it up when the users wants. Instead of using the date picker delegate use the buttons action to get the date picker value.

DatePicker doesn't display on top of ChildWindow in Wp7

i have developed child window control it has datepicker option .When i click the datepicker it has opened the date picker screen behind the Childwindow control so i am unable to select the date .
How can i display the date screen on my Child Window control ?
I found alternative way for this Query.
Event : datepicker1_ManipulationCompleted
this.close(); // this is close to strat the date manipulation
Event :datePicker1_ValueChanged
this.show() ;// Again i shows the my closed child window