We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

DateRangePicker - customization

Hi,

I want to use your component DateRangePicker. This component has an option to set the pre-defined ranges with label using presets property. 
Is it possible for the calendar to open on one page, i.e. like this is the case when the amount of space is limited? I need my calendar to look like in the picture.


Kind regards,

1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team May 28, 2019 12:23 PM UTC

Hi Grzegorz, 
 
Good day to you. 
 
You can enable the ‘isMobile’ option as true in the created event to render the DateRangePicker with one calendar (single page). Please refer the below code block. 
 
<ejs-daterangepicker #date (created)="onCreate($eve)"></ejs-daterangepicker> 
 
public onCreate(){ 
    (this.daterange as any).isMobile = true; 
} 
 
 
To know more details about this requirement, please refer the below KB documentation. 
 
 
Please let us know, if you require any further assistance. 
 
Regards, 
Ashokkumar B.  


Loader.
Live Chat Icon For mobile
Up arrow icon