Unplanned
Last Updated: 28 Jul 2021 17:19 by Akash

Bug report

Reproduction of the problem

Dojo: https://dojo.telerik.com/iMuMedOd

  1. Focus a cell and use one of the following shortcuts: Ctrl + B (Bold), Ctrl + I (Italic)

Current behavior

A js exception is thrown:
Uncaught TypeError: Cannot read property 'click' of undefined
kendo.all.js:168073

Expected/desired behavior

With the toolbar disabled the shortcuts should do nothing. There should be no exceptions.

Environment

  • Kendo UI version: 2021.2.616
  • jQuery version: x.y
  • Browser: [all ]
Unplanned
Last Updated: 28 Jul 2021 16:11 by Sripathi

Bug report

Reported in Ticket ID: 1529288

Reproduction of the problem

Create an MVC application:

View:

@{
	ViewBag.Title = "Home Page";
	string sfile = System.IO.Path.Combine(Server.MapPath("~"), "File1.xlsx");
}

@Html.Kendo().Spreadsheet().Name("spreadsheet"))

<br />	
<br />	
<button class="k-button k-primary" id="export" onclick="ExportExcel()">Export Spreadsheet content</button>
<script>
    function ExportExcel() {
        var spread = $('#spreadsheet').getKendoSpreadsheet();
        var data = JSON.stringify(spread.toJSON());

        var fd = new FormData();
        fd.append('wbook', data);
        fd.append('sfile', "File1.xlsx");

        $.ajax({
            url: "@Url.Action("SaveFileExcel", "Home")",
            data: fd,
            contentType: "application/x-www-form-urlencoded",
            processData: false,
            contentType: false,
            type: "POST",
            statusCode: {
                200: function (xhr, status, err) {
                    console.log('File exported!');
                },
                500: function (xhr, status, err) {
                    console.log('Internal Server Error!');
                }
            }
        });
    }
</script>

Controller:

[HttpPost]
public ActionResult SaveFileExcel(string wbook, string sFile)
{
    var workbook = Telerik.Web.Spreadsheet.Workbook.FromJson(wbook);
    string physicalPath = Path.Combine(Server.MapPath("~/"), sFile);
    //workbook.Save("C:/inetpub/wwwroot/" + sFile
    workbook.Save(physicalPath);
    return new EmptyResult();
}
  1. Add the application to a Docker container.
  2. Place a breakpoint in the SaveFileExcel action.
  3. Run the app and click the button below the Spreadsheet.

Current behavior

The Save method throws System.ExecutionEngineException

Expected/desired behavior

The file is saved.

Environment

  • Kendo UI version: 2021.2.616
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 24 Jun 2021 13:41 by Akash

Bug report

Reproduction of the problem

Dojo example.

  1. Open Company filter menu.
  2. Uncheck All and check only "Excella". Click Apply.
  3. Open the same filter menu and check "Complete Tech". Click Apply.
  4. Click the "Undo" button

Current behavior

All filters are cleared.

Expected/desired behavior

The Spreadsheet shows Company filtered by value "Excella". This is the behavior when different columns are filtered consecutively and then "Undo" is clicked.

Environment

  • Kendo UI version: 2021.2.616
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 11 Jun 2021 13:11 by ADMIN
Created by: Moishy
Comments: 0
Category: Spreadsheet
Type: Feature Request
0
Create a Telerik.Web.Spreadsheet NuGet package for UI for ASP.NET MVC.
Completed
Last Updated: 10 Jun 2021 06:31 by ADMIN
Release 2019.R3.SP1
Created by: Chris
Comments: 0
Category: Spreadsheet
Type: Bug Report
0

Bug report

Regression introduced in R3 2019.

Reproduction of the problem

Open this Spreadsheet demo. Even though the Toolbar configuration is set to false, it is not hidden. This applies only for ASP.Net Core and ASP.Net MVC.

Current behavior

The Toolbar is visible when set to false.

Expected/desired behavior

The Toolbar should be hidden.

Environment

  • Kendo UI version: 2019.3.917
  • Browser: [all]
Unplanned
Last Updated: 04 Jun 2021 16:06 by Claudio

Bug report

Reproduction of the problem

Reproducible in the demos:

  1. Create a second sheet.
  2. Select the new sheet ("Sheet1") and scroll the horizontally to column U. Add a value to the U1 cell.
  3. Select the first sheet ("Food Order").
  4. Select A17 and enter the following value: =SUM(C5,
  5. Select "Sheet1" and try to navigate to U1 either through the keyboard or through scrolling the sheet.

Current behavior

A popup with an error message appears.

Expected/desired behavior

The user should be able to navigate to the desired cell, in order to add it as a reference to the formula.

Environment

  • Kendo UI version: 2021.2.511
  • jQuery version: x.y
  • Browser: [all]
Duplicated
Last Updated: 02 Mar 2021 10:50 by ADMIN

When the Scheduler control is bound a datasource that includes a Boolean value/column in the database the Spreadsheet column presents this as "true" or "false" strings.

 

Allow alternate strings such as  "Yes" or "No" to represent a Boolean. Would of course need to update the datasource appropriately on Edit of a cell that uses this presentation.

Unplanned
Last Updated: 23 Feb 2021 15:45 by ADMIN
Created by: Peter
Comments: 0
Category: Spreadsheet
Type: Feature Request
1
At present, opening csv files directly from the "Open" tool in the Spreadsheet's toolbar is not possible. Only xlsx files are allowed.
Completed
Last Updated: 03 Feb 2021 15:05 by ADMIN
Release 2021.R1.SP.next
Created by: Heiko
Comments: 1
Category: Spreadsheet
Type: Bug Report
0
The toolbar for "Insert" on Spreadsheet component has "Add column left" twice. "Add column right" is missing. The bug is found in UI for ASP.NET MVC and UI for ASP.NET Core, but not in UI for jQuery.
Unplanned
Last Updated: 12 Jan 2021 10:34 by ADMIN

Currently, only the List and Number validation rules are supported when using Workbook.ToDocument();

 

It happens when the type of validation is text or custom 

for example:

If I saved :

"validation": {
                "type": "reject",
                "comparerType": "custom",
                "dataType": "custom",
                "from": "AND(LEN(A2)<3)",
                "showButton": true,
                "allowNulls": true
              }

I get back:

"validation": {
                "type": "reject",
                "comparerType": "equalTo",
                "dataType": "number",
                "from": "=AND(LEN(A2)<3)",
                "to": "\"=\"",
                "allowNulls": true
              }

It happens also when the comparer type is text - it saves it as a number

Also when I use the create validator with your UI and choose a custom formula it can't be saved because the compare type is null. As a result, I must define manually the custom validator

 

 

Declined
Last Updated: 04 Dec 2020 09:32 by ADMIN
Created by: Heiko
Comments: 5
Category: Spreadsheet
Type: Bug Report
0

Tested on demo-page. The export of an Excel-file containing defined names with a period such as "test.name" will result in an error.

Steps to reproduce:

  1. Create an Excel-file that has a defined name like "test.name"
  2. Open the file on the demo page
  3. Click on any of the "Save as..." buttons
  4. An error page is shown

 

Declined
Last Updated: 18 Nov 2020 16:11 by ADMIN
Created by: Heiko
Comments: 1
Category: Spreadsheet
Type: Bug Report
0
The strings for all toolbar-buttons in spreadsheet component are only available in en-US and missing in all other languages.
Unplanned
Last Updated: 30 Oct 2020 08:05 by ADMIN
Created by: Rakesh
Comments: 2
Category: Spreadsheet
Type: Feature Request
1

Hi There,

I am facing one issue in kendo spreadsheet onchange event.

Suppose I have applied formula on one cell A1 and formula is =SUM(B1:B3)

Now one change of values in B1 to B3 on change event gets fired but whenever cell A1 values gets updated i.e. on entering value in B1 to B2, on change event doesn’t get fired.

How can I make onchange event fire for formula cell.

 

Thank you,

Rakesh

Unplanned
Last Updated: 07 Oct 2020 07:44 by ADMIN
The Spreadsheet does not support cell formatting with exponent (scientific) notation.  For example, a cell currently displays a value as 0.0000000177 while the formula bar displays it as 1.77e-8. When working with scientific data the ability to format a cell value using exponent (scientific) notation would be an extremely valuable feature.
Completed
Last Updated: 23 Jun 2020 13:14 by ADMIN
Release 2020.R3

The Workbook.FromDocument() method freezes the panes based on the coordinates of the TopLeftCellIndex of the pane instead of the XSplit and YSplit properties of the pane. Reproduced with the attached Excel file

var pane = documentWorksheet.ViewState.Pane;
if (pane != null && pane.State == PaneState.Frozen)
{
    sheet.FrozenRows = pane.TopLeftCellIndex.RowIndex;
    sheet.FrozenColumns = pane.TopLeftCellIndex.ColumnIndex;
}

Solution:

var pane = documentWorksheet.ViewState.Pane;
if (pane != null && pane.State == PaneState.Frozen)
{
    sheet.FrozenRows = pane.YSplit;
    sheet.FrozenColumns = pane.XSplit;
}

WORKAROUND: Loading the Excel file with DocumentProcessingLibrary API and change the pane

var fileName = <YourFilePathHere...>;
if (!File.Exists(fileName))
{
    throw new FileNotFoundException(String.Format("File {0} was not found!", fileName));
}

Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

using (Stream input = new FileStream(fileName, FileMode.Open))
{
    workbook = formatProvider.Import(input);
    foreach (var sheet in workbook.Worksheets)
    {
        if (sheet.ViewState.Pane != null && sheet.ViewState.Pane.State == Telerik.Windows.Documents.Spreadsheet.Model.PaneState.Frozen)
        {

            var originalPane = sheet.ViewState.Pane;
            var pane = new Pane(new CellIndex(originalPane.YSplit, originalPane.XSplit), originalPane.XSplit, originalPane.YSplit, originalPane.ActivePane);
            sheet.ViewState.Pane = pane;
        }
    }
}
var sheets = Telerik.Web.Spreadsheet.Workbook.FromDocument(workbook).Sheets;

 

 

 

Unplanned
Last Updated: 11 Jun 2020 08:29 by ADMIN

Bug report

Reproduction of the problem

  1. Open the Dojo
  2. In the first column enter "01/01/0001"

Current behavior

The Date is displayed as "12/31/0"

Expected/desired behavior

The Date should be displayed correctly.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 01 Jun 2020 12:26 by ADMIN
Release 2020.R2.SP.next

Bug report

This is a regression introduced in R2 2019.
Textboxes and charts currently are not supported in the Spreadsheet, however, if the loaded excel file contains such, saving the file should not throw a js exception.

Reproduction of the problem

  1. In Excel add a textbox and/or a chart to a workbook. Save the workbook. Alternatively, use the attached file:
    sample-new-chart-textbox.zip
  2. Load the .xlsx file in the Spreadsheet
  3. Save the file

Current behavior

On saving the file the following exception is thrown:
kendo.all.js:12938 Uncaught TypeError: Cannot read property 'target' of undefined

Expected/desired behavior

No js exceptions on saving the file.

Environment

  • Kendo UI version: 2020.1.406
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 27 May 2020 11:01 by ADMIN
Created by: Bo Yuan
Comments: 1
Category: Spreadsheet
Type: Bug Report
0

Bug report

Calling insertRow multiple times over many sheet data causes a slower performance since 2020.1.219.

Reproduction of the problem

http://dojo.telerik.com/EBEtaFOj (2020.1.114)

  1. Click the Add Rows button and wait for the alert.

Current behavior

http://dojo.telerik.com/UJAGUgAl

Unplanned
Last Updated: 12 Feb 2020 12:45 by Gary
Created by: Gary
Comments: 0
Category: Spreadsheet
Type: Bug Report
3

Bug report

If there is a Spreadsheet on a given page and we scroll the page down using the mouse wheel, once the scrolling stops over the Spreadsheet and we try to continue it, we cannot do it. If the Spreadsheet has defined rows that are not currently visible when the mouse wheel is moved, then Spreadsheet is being scrolled, not the current page.

If the Spreadsheet has a lower number of pre-defined rows that are all displayed on the component's initialization the scrolling is again not applying to the page. Instead, moving the mouse wheel doesn't do anything until the mouse cursor is moved outside the Spreadsheet.

Reproduction of the problem

  1. Open this Dojo example and run it
  2. Move the mouse cursor in the middle of the pane displaying the compiled code.
  3. Use the mouse wheel to scroll down the page and stop the scrolling once the cursor is in the zone of the Spreadsheet
  4. Scroll down again

Current behavior

Because the cursor is inside the Spreadsheet the page cannot be scrolled. If the rows configuration is commented, when the scrolling is started again, the Spreadsheet data will be scrolled.

Expected/desired behavior

If all the data in the Spreadsheet is displayed, moving the mouse wheel over the component should result in page scrolling. If there is data in the Spreadsheet, there should be some way to prevent the scrolling inside the component.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 06 Feb 2020 13:07 by ADMIN
Created by: Bharathy
Comments: 1
Category: Spreadsheet
Type: Bug Report
1

Hi Team,

I am using a kendospreadsheet. I want to find the rownumber of last non blank cell for column C.

When i try the =SUMPRODUCT(MAX(($C$1:$C100<>"")*(ROW($C$1:$C100)))) in excel it works.

The same formula does not work in kendospreadsheet.

 

Please suggest if this is a bug or if formula needs any change to fit the kendospreadsheet.

 

Regards

Bharathy B

1 2