Skip to content

Commit 9983c47

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 86f8bba commit 9983c47

File tree

11 files changed

+17
-144
lines changed

11 files changed

+17
-144
lines changed

docs-aspnet/html-helpers/data-management/treelist/editing/drag-drop-editing.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ position: 5
88

99
# Editing by Dragging and Dropping
1010

11-
> Currently, the dragging and dropping of items (`.Editable(editable=>editable.Move(true))`) is not supported with the incell edit mode of the TreeList because the draggable functionality prevents the `mousedown` event. As a result, the `change` event of the editor input does not fire, which in turn prevents the MVVM binding from saving the updated value. To work around this problem, refer to [this GitHub issue](https://github.com/telerik/kendo-ui-core/issues/4673).
11+
> Currently, the dragging and dropping of items (`.Editable(editable=>editable.Move(true))` and `.Editable(editable=>editable.Move(move => move.Reorderable(true)))`) is not supported with the incell edit mode of the TreeList because the draggable functionality prevents the `mousedown` event. As a result, the `change` event of the editor input does not fire, which in turn prevents the MVVM binding from saving the updated value. To work around this problem, refer to [this GitHub issue](https://github.com/telerik/kendo-ui-core/issues/4673).
1212
13-
When the `.Editable(editable=>editable.Move(true))` option is set to `true`, the user can drag and drop the rows and the TreeList internally updates the `ParentId` field. To persist the new hierarchy, configure the TreeList data source for CRUD operations and set `transport.update` as a bare minimum. For a runnable example, refer to the [demo on editing by dragging and dropping the rows of the TreeList](https://demos.telerik.com/{{ site.platform }}/treelist/dragdrop).
13+
When the `.Editable(editable=>editable.Move(true))` property is set to `true`, the user can drag and drop the rows and the TreeList internally updates the `ParentId` field. Setting the `.Editable(editable=>editable.Move(move => move.Reorderable(true)))` property to `true` enables users not only to move items to a different level in the hierarchy but also allows users to reorder items within a particular hierarchy level.
14+
15+
To persist the new hierarchy, configure the TreeList data source for CRUD operations and set `transport.update` as a bare minimum. For a runnable example, refer to the [demo on editing by dragging and dropping the rows of the TreeList](https://demos.telerik.com/{{ site.platform }}/treelist/dragdrop).
1416

1517
```tab-Razor
1618
@(Html.Kendo().TreeList<EmployeeViewModel>()

docs/controls/data-management/treelist/editing/drag-and-drop-editing.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ position: 4
88

99
# Editing by Dragging and Dropping
1010

11-
> Currently, the dragging and dropping of items (`editable.move = true`) is not supported with the incell edit mode of the TreeList because the draggable functionality prevents the `mousedown` event. As a result, the `change` event of the editor input does not fire, which in turn prevents the MVVM binding from saving the updated value. To work around this problem, refer to [this GitHub issue](https://github.com/telerik/kendo-ui-core/issues/4673).
11+
> Currently, the dragging and dropping of items (`editable.move = true` and `editable.move.reorderable`) is not supported with the incell edit mode of the TreeList because the draggable functionality prevents the `mousedown` event. As a result, the `change` event of the editor input does not fire, which in turn prevents the MVVM binding from saving the updated value. To work around this problem, refer to [this GitHub issue](https://github.com/telerik/kendo-ui-core/issues/4673).
1212
13-
When the [`editable.move`](/api/javascript/ui/treelist/configuration/editable#editable.move) option is set to `true`, the user can drag and drop the rows and the TreeList internally updates the `parentId` field. To persist the new hierarchy, configure the TreeList data source for CRUD operations and set `transport.update` as a bare minimum. For a runnable example, refer to the [demo on editing by dragging and dropping the rows of the TreeList](https://demos.telerik.com/kendo-ui/treelist/dragdrop).
13+
When the [`editable.move`](/api/javascript/ui/treelist/configuration/editable#editable.move) option is set to `true`, the user can drag and drop the rows and the TreeList internally updates the `parentId` field. Setting the [`editable.move.reorderable`](/api/javascript/ui/treelist/configuration/editable#editable.move.reorderable) property to `true` enables users not only to move items to a different level in the hierarchy but also allows users to reorder items within a particular hierarchy level.
14+
15+
To persist the new hierarchy, configure the TreeList data source for CRUD operations and set `transport.update` as a bare minimum. For a runnable example, refer to the [demo on editing by dragging and dropping the rows of the TreeList](https://demos.telerik.com/kendo-ui/treelist/dragdrop).
1416

1517
The following example demonstrates how to enable the batch data source and the editable move configuration.
1618

docs/controls/navigation/buttongroup/accessibility/keyboard-navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ position: 2
1010

1111
The keyboard navigation of the ButtonGroup is always available.
1212

13-
To change the focused Button in the ButtonGroup, use the `Left Arrow` or `Right Arrow` keys.
13+
To change the focused Button in the ButtonGroup, use the `Left Arrow` or `Right Arrow` keys. Another option to switch between the Buttons in the ButtonGroup is to use `Tab` or `Shift` and `Tab`.
1414

1515
For a complete example, refer to the [demo on keyboard navigation of the ButtonGroup](https://demos.telerik.com/kendo-ui/buttongroup/keyboard-navigation).
1616

src/kendo.toolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var __meta__ = { // jshint ignore:line
7474
kendo.toolbar = {};
7575

7676
var components = {
77-
overflowAnchor: '<div tabindex="0" class="k-overflow-anchor k-button"></div>',
77+
overflowAnchor: '<div tabindex="0" class="k-overflow-anchor k-button" title="More tools" role="button"></div>',
7878
overflowContainer: '<ul class="k-overflow-container k-list-container"></ul>'
7979
};
8080

styles/web/common/menu.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,11 @@ ul.k-menu-vertical .k-separator,
378378
.k-menu .k-menu-group .k-item > .k-link {
379379
padding: .28em .9em .38em 1.8em;
380380
}
381+
382+
.k-menu-vertical > .k-menu-item > .k-menu-link {
383+
padding: @menu-link-padding;
384+
padding-left: @menu-vertical-link-padding;
385+
}
381386
}
382387
// Context Menu
383388

styles/web/kendo.common-fiori.less

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,16 +1336,6 @@ input.k-textbox,
13361336
padding-top: 2px;
13371337
}
13381338

1339-
.k-gantt-toolbar {
1340-
line-height: 44px;
1341-
vertical-align: middle;
1342-
}
1343-
1344-
.k-gantt-toolbar
1345-
{
1346-
padding: 0 1.286em 0 .528em;
1347-
}
1348-
13491339
.k-gantt-actions
13501340
{
13511341
margin: .2em 0;

styles/web/kendo.common-material.less

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,11 +1409,6 @@ form.k-filter-menu .k-textbox {
14091409
vertical-align: middle;
14101410
}
14111411

1412-
.k-gantt-toolbar {
1413-
line-height: 44px;
1414-
vertical-align: middle;
1415-
}
1416-
14171412
.k-popup-edit-form .k-primary {
14181413
float: right;
14191414
}
@@ -1424,10 +1419,6 @@ form.k-filter-menu .k-textbox {
14241419
clear: both;
14251420
}
14261421

1427-
.k-gantt-toolbar {
1428-
padding: 0 1.286em;
1429-
}
1430-
14311422
.k-drag-clue {
14321423
font-size: 1em;
14331424
padding: .65em 1em;

styles/web/kendo.common-nova.less

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,15 +1405,6 @@ form.k-filter-menu .k-textbox {
14051405
vertical-align: middle;
14061406
}
14071407

1408-
.k-gantt-toolbar {
1409-
line-height: 44px;
1410-
vertical-align: middle;
1411-
}
1412-
1413-
.k-gantt-toolbar {
1414-
padding: 0 1.286em;
1415-
}
1416-
14171408
.k-drag-clue {
14181409
font-size: 1em;
14191410
padding: .65em 1em;

styles/web/type-fiori.less

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,14 +2125,6 @@ div.k-filebrowser-dropzone em
21252125
border-radius: @draghandle-border-radius;
21262126
}
21272127

2128-
.k-gantt-toolbar li:first-child + li {
2129-
border-radius: @border-radius 0 0 @border-radius;
2130-
}
2131-
2132-
.k-rtl .k-gantt-toolbar li:last-child {
2133-
border-radius: @border-radius 0 0 @border-radius;
2134-
}
2135-
21362128
.k-more-events,
21372129
.k-event,
21382130
.k-task-single,
@@ -2147,13 +2139,6 @@ div.k-filebrowser-dropzone em
21472139
border-radius: (@inner-border-radius - 1);
21482140
}
21492141

2150-
// RTL Scheduler & Gantt
2151-
2152-
.k-rtl .k-gantt-toolbar > ul.k-gantt-views > li {
2153-
border-width: 0 0 3px 0;
2154-
border-color: transparent;
2155-
}
2156-
21572142
// /Column Menu
21582143

21592144
.k-autocomplete,
@@ -2499,21 +2484,6 @@ div.k-filebrowser-dropzone em
24992484
padding: 0.714em;
25002485
}
25012486

2502-
.k-gantt .k-gantt-views .k-state-selected
2503-
{
2504-
background: none;
2505-
}
2506-
2507-
.k-gantt .k-gantt-views > li
2508-
{
2509-
border-radius: 0;
2510-
}
2511-
2512-
.k-gantt .k-gantt-views .k-state-selected
2513-
{
2514-
border-color: @selected-border-color;
2515-
}
2516-
25172487
.k-task-summary-complete
25182488
{
25192489
border-color: @selected-border-color;
@@ -2543,38 +2513,11 @@ div.k-filebrowser-dropzone em
25432513
background-color: #444;
25442514
}
25452515

2546-
.k-gantt-views .k-link:link,
2547-
.k-gantt-views .k-link:visited,
25482516
.k-group-indicator .k-link
25492517
{
25502518
color: @widget-text-color;
25512519
}
25522520

2553-
.k-gantt .k-gantt-views > .k-state-selected > .k-link
2554-
{
2555-
color: @selected-border-color;
2556-
}
2557-
2558-
.k-gantt-toolbar .k-gantt-views > li > .k-link {
2559-
background: none;
2560-
}
2561-
2562-
.k-gantt .k-gantt-toolbar ul li.k-state-hover
2563-
{
2564-
background: none;
2565-
border-color: transparent;
2566-
}
2567-
2568-
.k-gantt .k-gantt-toolbar ul li.k-state-selected
2569-
{
2570-
border-color: @selected-border-color;
2571-
}
2572-
2573-
.k-gantt .k-gantt-toolbar .k-state-hover .k-link
2574-
{
2575-
color: @selected-background-color;
2576-
}
2577-
25782521
.k-scheduler-table .k-other-month,
25792522
.k-scheduler-header th,
25802523
.k-scheduler-dayview .k-scheduler-header .k-scheduler-header-wrap th.k-today

styles/web/type-material.less

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2631,39 +2631,18 @@ span.k-colorpicker {
26312631
border-color: @hover-border-color;
26322632
}
26332633

2634-
.k-grid .k-header .k-button,
2635-
.k-gantt > .k-header li,
2636-
.k-gantt > .k-header .k-link,
2637-
.k-gantt-toolbar .k-button {
2634+
.k-grid .k-header .k-button {
26382635
color: @header-text-color;
26392636
background-color: @header-background-color;
26402637
border-color: @header-background-color;
26412638
.box-shadow(none);
26422639
}
26432640

2644-
.k-grid .k-header .k-button:hover,
2645-
.k-gantt .k-gantt-toolbar .k-gantt-views li.k-state-hover,
2646-
.k-gantt .k-gantt-toolbar .k-gantt-views li.k-state-hover .k-link,
2647-
.k-gantt .k-gantt-toolbar .k-button:hover {
2641+
.k-grid .k-header .k-button:hover {
26482642
background-color: @secondary-hover-background-color;
26492643
border-color: @secondary-hover-background-color;
26502644
}
26512645

2652-
.k-gantt-toolbar .k-button {
2653-
background-color: @header-background-color;
2654-
border-color: @header-background-color;
2655-
}
2656-
2657-
.k-gantt .k-gantt-toolbar .k-button:active {
2658-
background: @select-background-color;
2659-
.box-shadow(none);
2660-
}
2661-
2662-
.k-gantt-toolbar > .k-gantt-views > li.k-state-selected,
2663-
.k-gantt .k-gantt-toolbar .k-gantt-views li.k-state-selected.k-state-hover {
2664-
border-bottom-color: @selected-background;
2665-
}
2666-
26672646
.k-scheduler-mark {
26682647
border-radius: 50%;
26692648
}

0 commit comments

Comments
 (0)