Skip to content

Commit b1abd6b

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent f32d0b4 commit b1abd6b

36 files changed

+365
-264
lines changed

docs/api/javascript/ui/grid.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,9 @@ Can be set to a string ("inline", "incell" or "popup") to specify the editing mo
25772577

25782578
Can be set to a JavaScript object which represents the editing configuration.
25792579

2580-
> The "inline" and "popup" editing modes are triggered by the "edit" column command. Thus it is required to have a column with an "edit" command.
2580+
> The "inline" and "popup" editing modes are triggered by the "edit" column command. Thus it is required to have a column with an "edit" command.
2581+
>
2582+
> The "incell" editing mode combined with DataSource `autoSync: true` setting is not supported when using server-side grouping in the Grid. To be able to save edited values on each change, you can disable server-side grouping or trigger a DataSource `sync()` manually inside the [`cellClose` event](#events-cellClose).
25812583
25822584
#### Example - enable editing
25832585
<div id="grid"></div>
@@ -8240,7 +8242,7 @@ the complete state obtained previously with the [`getOptions`](#methods-getOptio
82408242

82418243
When `setOptions` is called, the Grid widget will be destroyed and recreated. If the widget is bound to remote data, a new read request will be made.
82428244

8243-
> There are three important things to keep in mind when using `getOptions` and `setOptions`.
8245+
> There are a few important things to keep in mind when using `getOptions` and `setOptions`.
82448246
>
82458247
> * **calling `setOptions()` in a Grid event handler is not possible.**
82468248
> * **calling `setOptions()` in a function, which is related to the Grid's databinding mechanism may cause an endless loop.**

docs/knowledge-base/calendar-disable-dates-dynamically.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Disable dates of the Kendo UI Calendar dynamically
3-
description: An example on how to disable dates of the Kendo UI Calendar dynamically.
2+
title: Disable Dates in Calendar Dynamically
3+
description: An example on how to dynamically disable dates in the Kendo UI Calendar.
44
type: how-to
5-
page_title: Disable dates of the Kendo UI Calendar dynamically| Kendo UI Calendar
5+
page_title: Disable Dates Dynamically | Kendo UI Calendar
66
slug: calendar-disable-dates-dynamically
77
tags: calendar, disable, dates, dynamically, javascript,js
88
res_type: kb
@@ -13,7 +13,7 @@ res_type: kb
1313
<table>
1414
<tr>
1515
<td>Product</td>
16-
<td>Calendar for Progress® Kendo UI®</td>
16+
<td>Progress Kendo UI Calendar</td>
1717
</tr> <tr>
1818
<td>Made with version</td>
1919
<td>2017.3.1026</td>
@@ -23,11 +23,12 @@ res_type: kb
2323

2424
## Description
2525

26-
How can I disable dates of the Kendo UI Calendar after the initialization of the widget?
26+
How can I disable dates in the Calendar after the widget was initialized?
2727

2828
## Solution
2929

30-
Use [destroy method](https://docs.telerik.com/kendo-ui/api/javascript/ui/calendar#methods-destroy) to destroy the calendar and then initialize once again with disabled dates.
30+
1. Destroy the Calendar by using the [`destroy`](https://docs.telerik.com/kendo-ui/api/javascript/ui/calendar#methods-destroy) method.
31+
1. Initialize the Calendar with the disabled dates.
3132

3233
````html
3334
<div id="calendar"></div>
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
title: Select a range of dates
3+
description: An example on how to select a range of dates in the Kendo UI Calendar widget.
4+
type: how-to
5+
page_title: Select a range of dates | Kendo UI Calendar
6+
slug: calendar-select-range-of-dates
7+
tags: kendo, ui, calendar, select, range, dates, multiple, between, datepicker
8+
res_type: kb
9+
component: calendar
10+
---
11+
12+
## Environment
13+
14+
<table>
15+
<tr>
16+
<td>Product</td>
17+
<td>Progress Kendo UI Calendar</td>
18+
</tr>
19+
<tr>
20+
<td>Progress Kendo UI version</td>
21+
<td>Tested up to version 2017.3.1026</td>
22+
</tr>
23+
</table>
24+
 
25+
26+
## Description
27+
28+
How can I select a range of dates in the Kendo Calendar widget?
29+
30+
## Solution
31+
32+
Once the user chooses both end and start dates, select the dates in the selected range using the [selectDates method](https://docs.telerik.com/kendo-ui/api/javascript/ui/calendar#methods-selectDates)
33+
34+
```html
35+
<label>Start:</label>
36+
37+
<input id='start'/>
38+
39+
<label>End:</label>
40+
<input id='end'/>
41+
<br/>
42+
<div id='calendar' style='margin:10px'></div>
43+
44+
<script>
45+
Date.prototype.addDays = function (days) {
46+
var dat = new Date(this.valueOf());
47+
dat.setDate(dat.getDate() + days);
48+
return dat;
49+
}
50+
51+
$('#start').kendoDatePicker({
52+
change: rangeSelection
53+
});
54+
55+
$('#end').kendoDatePicker({
56+
change: rangeSelection
57+
});
58+
59+
$('#calendar').kendoCalendar({
60+
selectable:'multiple'
61+
});
62+
63+
function rangeSelection() {
64+
65+
var start = $('#start').data('kendoDatePicker');
66+
var end = $('#end').data('kendoDatePicker');
67+
var calendar = $('#calendar').data('kendoCalendar');
68+
69+
if (start.value() && end.value() && start.value().getTime() <= end.value().getTime()) {
70+
debugger
71+
var datesToSelect = [];
72+
var daysToAdd = 0;
73+
while (true) {
74+
var dateToAdd = start.value().addDays(daysToAdd);
75+
if (dateToAdd.getTime() >= end.value().getTime()) {
76+
datesToSelect.push(dateToAdd);
77+
break;
78+
}
79+
datesToSelect.push(dateToAdd);
80+
daysToAdd++;
81+
}
82+
83+
calendar.selectDates(datesToSelect);
84+
}
85+
}
86+
87+
</script>
88+
```
89+
90+
## See Also
91+
92+
* [API Reference of the DatePicker](http://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker)
93+
* [API Reference of the DateTimePicker](http://docs.telerik.com/kendo-ui/api/javascript/ui/datetimepicker)
94+
* [API Reference of the Calendar](http://docs.telerik.com/kendo-ui/api/javascript/ui/calendar)

docs/knowledge-base/chart-style-not-affected-by-sass-theme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: The Custom Theme That Is Created by Using SASS ThemeBuilder Doesn't Affect Charts
2+
title: The Custom Theme that Is Created by Using SASS ThemeBuilder Doesn't Affect Charts
33
description: The theme which is created through the ThemeBuilder changes the style of every Kendo UI control except for the Charts.
44
type: troubleshooting
5-
page_title: Custom Theme Created through the SASS ThemeBuilder Doesn't Affect the MVC Charts | Kendo UI Charts
5+
page_title: Custom Theme Created through the SASS ThemeBuilder Doesn't Affect the MVC Charts | UI for ASP.NET MVC
66
slug: chart-style-not-affected-by-sass-theme
77
tags: chart, theme, themebuilder, style, sass
88
ticketid: 1141887

docs/knowledge-base/datepicker-validate-whether-value-is-in-correct-format.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
title: Validate whether value is in correct format
3-
description: An example on how to validate whether value is in correct format of the Kendo UI DatePicker and DateTimePicker widgets.
2+
title: Validate If Value Is in the Correct Format
3+
description: An example on how to validate whether value is in the correct format in the Kendo UI DatePicker and DateTimePicker widgets.
44
type: how-to
5-
page_title: Validate whether value is in correct format| Kendo UI DatePicker
5+
page_title: Validate Whether Value Is in the Correct Format | Kendo UI DatePicker
66
slug: datepicker-validate-whether-value-is-in-correct-format
77
tags: kendo, ui, datepicker, datetimepicker, validate, format,correct, value,input
8-
ticketid:
98
res_type: kb
109
component: datepicker
1110
---
@@ -16,6 +15,7 @@ component: datepicker
1615
<tr>
1716
<td>Product</td>
1817
<td>Progress Kendo UI DatePicker</td>
18+
<td>Progress Kendo UI DateTimePicker</td>
1919
</tr>
2020
<tr>
2121
<td>Progress Kendo UI version</td>
@@ -26,15 +26,11 @@ component: datepicker
2626

2727
## Description
2828

29-
Can I validate whether the input of the user is in the correct format?
29+
How can I validate whether the input of the user in the DatePicker is in the correct format?
3030

3131
## Solution
3232

33-
A possible solution is to use the [Kendo Validator](https://docs.telerik.com/kendo-ui/controls/editors/validator/overview) and create a custom validation rule which validates the format of the date.
34-
35-
### DatePicker
36-
37-
The following example demonstrates the full implementation of the approach.
33+
Use the [Kendo UI Validator](https://docs.telerik.com/kendo-ui/controls/editors/validator/overview) and create a custom validation rule which validates the format of the date.
3834

3935
```html
4036
<h2>Use client-side validation:</h2>
@@ -89,6 +85,6 @@ The following example demonstrates the full implementation of the approach.
8985

9086
## See Also
9187

92-
* [DatePicker API Reference](http://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker)
93-
* [DateTimePicker API Reference](http://docs.telerik.com/kendo-ui/api/javascript/ui/datetimepicker)
94-
* [Calendar API Reference](http://docs.telerik.com/kendo-ui/api/javascript/ui/calendar)
88+
* [API Reference of the DatePicker](http://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker)
89+
* [API Reference of the DateTimePicker](http://docs.telerik.com/kendo-ui/api/javascript/ui/datetimepicker)
90+
* [API Reference of the Calendar](http://docs.telerik.com/kendo-ui/api/javascript/ui/calendar)

docs/knowledge-base/dropdownlist-cascading-angularjs-webapi.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: Cascading DropDownLists Using Transport Binding with AngularJS and WebAPI
2+
title: Cascading DropDownLists by Using Transport Binding with AngularJS and WebAPI
33
description: An example on how to implement cascading dropdownlists, with transport binding with webapi with angularjs
44
type: how-to
5-
page_title: Implement Cascading DropDownLists with AngularJS, Using Transport Binding and WebAPI | Kendo DropDownList
5+
page_title: Implement Cascading DropDownLists with AngularJS by Using Transport Binding and WebAPI | Kendo DropDownList
66
slug: dropdownlist-cascading-angularjs-webapi
7-
position: 0
87
tags: kendo, kendoui, dropdownlist, cascading, webapi, transport, datasource, angularjs
98
ticketid: 1142461
109
res_type: kb

docs/knowledge-base/export-multiple-grids-in-the-same-pdf-file.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Export multiple grids in the same pdf file
3-
description: An example on how to export multiple grids in the same pdf file.
2+
title: Export Multiple Grids in the Same PDF File
3+
description: An example on how to export multiple Kendo UI Grids in the same PDF file.
44
type: how-to
5-
page_title: Export multiple grids in the same pdf file | Kendo UI Grid
5+
page_title: Export Multiple Grids in the Same PDF File | Kendo UI Grid
66
slug: export-multiple-grids-in-the-same-pdf-file
77
tags: kendo ui, mvc, pdf, multiple, grids, same, file, grid
88
ticketid: 1131735
@@ -15,7 +15,7 @@ component: grid
1515
<table>
1616
<tr>
1717
<td>Product</td>
18-
<td>Grid for Progress Kendo UI</td>
18+
<td>Progress Kendo UI Grid</td>
1919
</tr>
2020
<tr>
2121
<td>Progress Kendo UI version</td>
@@ -25,11 +25,13 @@ component: grid
2525

2626
## Description
2727

28-
How can I export many grids in the same `pdf` file?
28+
How can I export many Grids in the same PDF file?
2929

3030
## Solution
3131

32-
Simply export one of the grids using `_drawPDF` function. Then in the callback of the promise, export the rest of the grids and append the result to the export of the initially exported grid.
32+
1. Export one of the Grids by using the `_drawPDF` function.
33+
1. In the callback of the promise, export the other Grids.
34+
1. Append the result to the export of the initially exported Grid.
3335

3436
```html
3537
<div id="example">

docs/knowledge-base/export-the-grid-to-excel-only-after-confirmation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Export the Grid to Excel after Confirmation
33
description: An example on how to export the Kendo UI Grid to Excel only after confirmation.
44
type: how-to
5-
page_title: Export Grid to Excel only after Confirmation | Telerik UI for JSP
5+
page_title: Export Grid to Excel only after Confirmation | UI for JSP
66
slug: export-the-grid-to-excel-only-after-confirmation
77
tags: grid, excel, export
88
ticketid: 1117057

docs/knowledge-base/filter-all-columns-with-one-textbox.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
2-
title: Filter all columns with single textbox
3-
description: Example on how to filter all columns with single textbox
2+
title: Filter All Grid Columns with Single Textbox
3+
description: An example on how to filter all columns with a single textbox in the Kendo UI Grid.
44
type: how-to
5-
page_title: Filter all columns with single textbox | Kendo UI Grid
5+
page_title: Filter All Columns with Single Textbox | Kendo UI Grid
66
slug: filter-all-columns-with-one-textbox
77
tags: grid, filter, all, columns, single, input, textbox, one, global, search, entire, whole
88
res_type: kb
99
component: grid
1010
---
1111

1212
## Environment
13+
1314
<table>
1415
<tr>
1516
<td>Product</td>
16-
<td>Grid for Progress® Kendo UI®</td>
17+
<td>Progress Kendo UI Grid</td>
1718
</tr>
1819
<tr>
1920
<td>Progress Kendo UI version</td>
@@ -23,12 +24,12 @@ component: grid
2324

2425
## Description
2526

26-
I want the users to search through all columns of the grid using one single input field. How can I implement a global grid search?
27+
How can I implement a global Grid search and enable the users to search through all Grid columns by using a single input field?
2728

2829
## Solution
2930

30-
Within the [input event](https://developer.mozilla.org/en-US/docs/Web/Events/input) handler of the text box, build a filter query using the value of the textbox. Then filter the data source using the [filter method](https://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-filter).
31-
31+
1. Within the [`input`](https://developer.mozilla.org/en-US/docs/Web/Events/input) event handler of the textbox, build a filter query by using the value of the textbox.
32+
1. Filter the data source by using the [`filter`](https://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-filter) method.
3233

3334
```html
3435

@@ -155,4 +156,4 @@ Within the [input event](https://developer.mozilla.org/en-US/docs/Web/Events/inp
155156
});
156157
</script>
157158
</div>
158-
```
159+
```

docs/knowledge-base/filter-grid-with-multi-select-widget.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Filter a grid with the Kendo UI MultiSelect widget
3-
description: An example on how to customize the filter in order to use the MultiSelect widget.
2+
title: Filter Grid by Using the MultiSelect
3+
description: An example on how to customize the kendo UI Grid filter and use the Kendo UI MultiSelect widget.
44
type: how-to
5-
page_title: Filter a grid with the Kendo UI MultiSelect widget | Kendo UI Grid
5+
page_title: Filter the Grid with the MultiSelect Widget | Kendo UI Grid
66
slug: filter-grid-with-multi-select-widget
77
tags: kendo ui, mvc, grid, multi, select, filter, custom,
88
ticketid: 1129339
@@ -15,7 +15,7 @@ component: grid
1515
<table>
1616
<tr>
1717
<td>Product</td>
18-
<td>Grid for Progress Kendo UI</td>
18+
<td>Progress Kendo UI Grid</td>
1919
</tr>
2020
<tr>
2121
<td>Progress Kendo UI version</td>
@@ -25,11 +25,13 @@ component: grid
2525

2626
## Description
2727

28-
How can I apply multiple filters for single field with the Kendo UI MultiSelect widget?
28+
How can I apply multiple filters in a Grid for a single field with the Kendo UI MultiSelect widget?
2929

3030
## Solution
3131

32-
Use the `columns.filterable.ui` for menu filtering and `columns.filterable.cell.template` for row filtering in order to specify which function will create the custom filter widget. In that function create MultiSelect widget and when the `change` event is fired apply the filters to the grid based on the currently selected items.
32+
1. Specify which function will create the custom filter widget by using the `columns.filterable.ui` for menu filtering and `columns.filterable.cell.template` for row filtering.
33+
1. In that function, create a MultiSelect widget.
34+
1. When the `change` event is fired, apply the filters to the Grid based on the currently selected items.
3335

3436
```html
3537
<div id="example">

0 commit comments

Comments
 (0)