Skip to Content

How to restrict the DatePicker for Specific month inside the P13 Dilaog?

Hi All,

We are working on custom SAPUI5 Application development. I am having a Table and with 1000 records specific to some months. I am applying a filter to this table using P13 Dialog.

On this Dialog, under the filter panel, I am using the date picker to filter the value. Whenever I choose equal or between the date picker opens with all month and years. I Need to restrict it based on the month.

For example, in my table, if I am having records for November 2018, then it should show only s[pecific to November 2018 Month respectively. If records for December 2017, then date picker inside P13 should display only to December 2017. How to do this?

Please see the image for more info.

p13.png (10.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 27, 2018 at 10:34 AM

    Hello Jayakrishnan,

    You may try to set 'minDate' and 'maxDate' to the DatePicker to restrict the selection. use methods setMinDate and setMaxDate.


    Hope this helps!



    Add comment
    10|10000 characters needed characters exceeded