DateRangePickerMonthSettingsBuilder
Methods
Content(System.String)
The template to be used for rendering the cells in "month" view, which are between the min/max range.
Parameters
value - System.String
The value that configures the content.
Example
@(Html.Kendo().DateRangePicker()
.Name("DateRangePicker")
.Month(m => m.Content("#=data.value#"))
)
WeekNumber(System.String)
The template to be used for rendering the cells in "week" column. By default, the widget renders the calculated week of the year. The properties available in the data object are: currentDate - returns the first date of the current week. or weekNumber - calculated week number.. These properties can be used in the template to make additional calculations.
Parameters
value - System.String
The value that configures the weeknumber.
Example
"))
)
Empty(System.String)
The template used for rendering cells in the "month" view, which are outside the min/max range.
Parameters
value - System.String
The value that configures the empty.
Example
@(Html.Kendo().DateRangePicker()
.Name("DateRangePicker")
.Month(m => m.Empty("-"))
)