Skip to content

Commit 917bb30

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 1f49964 commit 917bb30

File tree

5 files changed

+72
-5
lines changed

5 files changed

+72
-5
lines changed

docs-aspnet/_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,10 @@ navigation:
624624
baseurl: /aspnet-core
625625

626626
## The Kendo UI version used
627-
cdnVersion: "2022.1.301"
627+
cdnVersion: "2022.1.412"
628628

629629
## The MVC Core version used
630-
mvcCoreVersion: "2022.1.301"
630+
mvcCoreVersion: "2022.1.412"
631631

632632
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
633633

docs-aspnet/html-helpers/interactivity/circularprogressbar/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ The following example demonstrates the basic configuration of the ProgressBar.
9090
```
9191
{% endif %}
9292

93+
You can control the size of the Circular ProgressBar, by placing it in a `div` container with a specific height.
94+
9395
## Modes
9496

9597
The Circular ProgressBar has two modes: `infinite` and `finite`.

docs/_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,10 +747,10 @@ navigation:
747747
baseurl: /kendo-ui
748748

749749
## The Kendo UI version used
750-
cdnVersion: "2022.1.301"
750+
cdnVersion: "2022.1.412"
751751

752752
## The MVC Core version used
753-
mvcCoreVersion: "2022.1.301"
753+
mvcCoreVersion: "2022.1.412"
754754

755755
## Progress NPM Registry
756756
registry_url: 'https://registry.npm.telerik.com/'
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: Sheet Resizing
3+
page_title: jQuery Spreadsheet Documentation | Sheet Resizing
4+
description: "Get started with the jQuery Spreadsheet by Kendo UI and learn how to change the size of the sheet."
5+
slug: resize_spreadsheet_widget
6+
position: 7
7+
---
8+
9+
# Sheet Resizing
10+
11+
As of the R1 2022 SP2 release, the Spreadsheet [Sheet](/api/javascript/spreadsheet/sheet) exposes a `resize` method that allows you to change the number of the rows and columns in the current sheet.
12+
13+
The new functionality increases or decreases the size of the rows and columns after loading. The sheet automatically resizes after the user pastes more data than the current sheet size allows for and exposes flexible behavior when the user adds or deletes columns and rows from the toolbar.
14+
15+
> If you delete rows or columns within a sheet, the sheet may lose data. If a row or column is deleted either by using the `resize` method or by using the **Delete Row** or **Delete Column** tool, it will be removed even if it contains data.
16+
17+
18+
## Using the resize Method
19+
20+
If the count of the rows or columns is programmatically set through the `resize` method, the user cannot revert the applied changes through the **Undo** or **Redo** toolbar options. In this case, **Undo** and **Redo** will take effect only if the user changes the number of the rows or columns with the **Insert New Row** or **Insert New Column**, or with **Delete Row** or **Delete Column** options.
21+
22+
The example below demonstrates how to set the count of the rows and columns in the current active sheet by using the [`resize`](/api/javascript/spreadsheet/sheet/methods/resize) method.
23+
24+
```dojo
25+
<div id="spreadsheet"></div>
26+
<script>
27+
$("#spreadsheet").kendoSpreadsheet({
28+
sheets: [{
29+
rows: [{
30+
cells: [{
31+
value: "My Company"
32+
}]
33+
}],
34+
},{
35+
name: "Second Sheet"
36+
}]
37+
});
38+
39+
var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
40+
var sheet = spreadsheet.activeSheet();
41+
sheet.resize(25, 5); //there will be 25 rows and 5 columns in the sheet
42+
</script>
43+
```
44+
45+
## New vs. Old Behavior
46+
47+
The implementation of the `resize` method changes aspects of the Spreadsheet behavior in the following way:
48+
49+
- **Insert New Row** and **Insert New Column** options&mdash;The new functionality allows the user to insert a new row or column in the current sheet, and to increase the number of the initially configured rows or columns. This is possible even if the last row or column in the sheet contains data.
50+
51+
For versions prior to R1 2022 SP2, if the user inserted rows or columns, the data in the sheet would be shifted, but the number of rows or columns would remain the same. The user was not allowed to insert a new row or column in the sheet if the last row or column contained data because of possible data loss.
52+
53+
- **Delete Row** and **Delete Column** options&mdash;Now the user can delete rows or columns by right-clicking the row or column and showing the context menu. Also, the user can decrease the rows or columns in the currently active sheet by using the **Delete Row** or **Delete Column** options.
54+
55+
For versions prior to R1 2022 SP2, the cells were deleted but the sheet size remained the same.
56+
57+
- **Resizing on pasting data**&mdash;Currently, when the user pastes more data than the current sheet size allows for, the sheet will automatically add new rows or columns.
58+
59+
Versions prior to R1 2022 SP2 do not support such behavior. In similar cases, the Spreadsheet displayed a dialog with the "Cannot paste, because the copy area and the paste area are not the same size and shape." message.
60+
61+
62+
## See Also
63+
64+
* [Spreadsheet Resize Sheet Demo](https://demos.telerik.com/kendo-ui/spreadsheet/resize)
65+
* [Spreadsheet JavaScript API Reference](/api/javascript/ui/spreadsheet)

typescript/kendo.all.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Kendo UI Professional v2022.1.301
1+
// Type definitions for Kendo UI Professional v2022.1.412
22
// Project: http://www.telerik.com/kendo-ui
33
// Definitions by: Telerik <https://github.com/telerik>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

0 commit comments

Comments
 (0)