New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sap.ui.unified.Calendar - month and year listener #361
Comments
Hi Harshal, if i understood correctly, you would like to have additional events when the user selected a new year or month. I flagged this as a feature request and contacted the colleague that developed the control. If the enhancement is considered useful by our development team, there are two options for enhancing this control:
We will get back to you soon. Cheers, Michael |
Hi Michael, I guess this enhancement will take time. I would like contribute to build this functionality. It will be great if you give me some heads up and guid lines to start with. Cheers, |
@harshal619 Would f20efb4 suffice for the enhancement request? |
The TableDelegate offers one hook to create a column and provides the possibility to define a filter delegate in addition. As the column might need a different fieldHelp associated to the inner Field template, it might be necessary to associate a different fieldHelp to the FilterField of the inner AdaptationFilterBar. TableDelegate#addItem --> can be used to create a column TableDelegate#getFilterDelegate#addItem --> can be used to create a FilterField The example has ben enhanced to allow filtering also for "Orders" and "Authors". In addition the same filter delegate as for the FilterBar delegate is being used, this way the FilterFields will be created similarly as for the FilterBar. For example "Stock" is now also a range slider. Fixes testing issue #361 Change-Id: I3ac940f6b208f0b4c9c27212a47042c81668544b
Hello @harshal619 , Sorry for the late response. https://ui5.sap.com/#/api/sap.ui.unified.Calendar%23events/startDateChange Listening to this event will give you access to every change(month, year, date) in the calendar. Best Regards, |
Hi,
I m using "sap.ui.unified.Calendar" this calendar control in my app n it has user friendly UI.
It will be very helpful if there is a listener on years and month button.
Like if i select specific year or a month of specific year then there should be a listener which can tell me which year or month of the year is been selected so i can do my actions accordingly. It will be a useful feature.
Cheers,
Harshal
The text was updated successfully, but these errors were encountered: