on 09-12-2016 6:29 PM
Hi Experts,
Can anyone give me some guidance on the best way to set the MaxDate value for a Datepicker that is added to a table as part of a model.
I need to set the MaxDate for an end date input field based on an employee type we get from a different function.
The xml, used for the datepicker in the table column is:
<DatePicker valueFormat="MM/dd/yyyy"
displayFormat="MM/dd/yyyy"
value="{path: 'cart>ValidTo',
type: 'sap.ui.model.type.Date',
formatOptions: {pattern: 'MM/dd/yyyy'}}"/>
Thanks!
-Kevin
Hey All,
Nevermind, I found that I can use: modelContextChange.
Thanks!
-Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.