All docs
V19.1
19.2 (CTP)
19.1
18.2
18.1
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
17.1
The page you are viewing does not exist in version 17.1. This link will take you to the root page.
16.2
The page you are viewing does not exist in version 16.2. This link will take you to the root page.

Date Navigator

The date navigator is an element that allows you to change the date displayed on the view.

Scheduler Date Navigator

You can specify the range of available dates in the min and max options:

jQuery
index.js
$(function() {
    $("schedulerContainer").dxScheduler({
        // ...
        min: new Date(2018, 2, 3),
        max: new Date(2018, 4, 3)
    });
});
Angular
app.component.html
app.component.ts
app.module.ts
<dx-scheduler ...
    [min]="minDate"
    [max]="maxDate">
</dx-scheduler>
import { Component } from '@angular/core';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent {
    minDate: Date = new Date(2018, 2, 3);
    maxDate: Date = new Date(2018, 4, 3);
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { DxSchedulerModule } from 'devextreme-angular';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        DxSchedulerModule
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

Use the customizeDateNavigatorText function to customize the navigator's text. Refer to the function's description for an example.