Search results

Customization

The DateRangePicker is available for UI customization that can be achieved by using the available properties and events in the component.

First day of week

Start day in a week will differ based on the culture, but you can also customize this based on the application needs. For this, use the FirstDayOfWeek property. By default, first day of a week in en-US is Sunday. In the following example, it is customized to Wednesday with the help of this property.

@using Syncfusion.EJ2.Blazor.Calendars

<EjsDateRangePicker Placeholder="Select a range" FirstDayOfWeek=3></EjsDateRangePicker>

The output will be as follows.

DateRangePicker