Hello
We are trying to use the Kendo Jquery spreadsheet but are running across some issues in terms of setting up for printing and/or exporting to PDF.
Currently, we let the user modify the spreadsheet to suit their needs. The problem is there is no way to see page breaks at this time...that we know of. The users stretch columns and row to suit their needs but the only way to see if they 'broke' across a page is to export to pdf to see...
We would like one or two options...
1. We know what our page size is - 8 1/2 x 11. Is there a way to fix the max size of the spreadsheet so it's 1 page wide? If the user inserts columns then the other columns just get smaller and smaller - proportionally - but ultimately the sheet is as only as wide as 1 page...
2. The ability to see where the page breaks are so they can set up the sheet correctly.
Please let me know if one of these options is feasible or are we stuck?
Thank you
Jeffrey Suffet
In my testing of utilizing the spreadsheet component and starting off with for example 100 rows in the configuration options, using insert row typically seems to shift the data down (if you have anything below the cursor). It does not actually increase the number of rows in the sheet.
For example if I initialize the spreadsheet with the following info:
$("#spreadsheet").kendoSpreadsheet({
rows: 100,
columns: 26
});
This will create the spreadsheet with 100 rows and columns A-Z as expected.
Now going anywhere in the sheet (or the end) and inserting a row above/or below will not add row 101, 102, 103, etc. In fact, if you are in the very last row and hit insert row below it will come up with a message regarding a possible loss of data.
A couple things I have tried:
So with that said, is it at all possible to actually add a row to the sheet as one would expect the behavior to be. This obviously still needs to call the internal functions to recalculate the ranges and data throughout the sheet; but somehow re-fresh or re-render the UI component (just calling render again doesn't fix it).
I appreciate your help with this.
We have: Uncaught Error: The toDataURL method can be used only with jsZip 2. Either include jsZip 2 or use the toDataURLAsync method.
and we have:
so i implement a function SpreadSheetOnexcelExport on excelExport event:
$.SpreadSheetOnexcelExport = function(){
var args = arguments[0];
var options = args.sender.options;
var wb = args.workbook;
var wbX = new kendo.ooxml.Workbook(wb)
var dataURL = wbX.toDataURLAsync();
wbX.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: options.excel.fileName
});
});
args.preventDefault();
}
The problem is that, for fileName, I have no way to use the file name, selected by the user:
When pasting data from Excel, the data is being pasted as an image instead of values
Pasting from Excel results in an image
Pasting from Excel should result in correctly filled data cells
File:
3f0465a2-412c-4876-ba47-4b12ae46f92e_adam.zip
https://demos.telerik.com/kendo-ui/spreadsheet/index
Errors are encountered. Even if resolving the errors bold styles are not applied as they are part of the font definition and not of the inlineStyles.
The excel is imported as expected.
The performance in the latest official version is significantly worse compared to older versions (2017.1.117 and 2018.1.118 tested).
Dojo example.
The UI freezes and remains unresponsive for minutes.
The new font size is applied without significant delay.
When destroying a SpreadSheet and removing its corresponding DOM element, there are some DOM nodes added on SpreadSheet's initialization which are not removed after the execution of .destroy() and .remove().
Not all DOM elements added on SpreadSheet initialization are being removed when destroying it and removing its corresponding DOM element.
After destroying a SpreadSheet and removing its corresponding DOM element, no DOM nodes added on component's initialization should be presented in the DOM tree.
We have a client that recently brought to our attention the fact that he found a case where he couldn't place his cursor in a certain spot of a formula, click a cell, and have it fill that cell in. It works if you try to do that for the first cell listed in the formula, but not the rest. I've outlined a sample case below.
You can enter a formula in a cell like =IF(A2+B2, 1, -(A2+B2), 2). Then, highlight a cell, like A2 below, and delete it by hitting backspace or delete.
After hitting delete, leave the cursor in the same location of the formula and click a new cell, like A4.
For this case, since it's the first cell in the formula, it will insert the cell you just clicked on in the correct location. However, next try highlighting the next cell referenced, hitting delete, and clicking on a new cell to have it insert the cell into the formula. In this case, we highlighted and deleted B2, then tried to click on B4.
You'll see that, for this one, instead of inserting B4, it gives an error message. Our client said that it significantly slows him down when he has to manually type in each change to the formula, so is there any way we could have it insert the cell you click on for all cases? It doesn't look like this is a current feature, so would you be able to add it, please? Thank you!
When using IE 11 and using Ctrl+X to cut, this only works the first time. All subsequent attempts to use cut produce the following dialog:
Hi
Does the kendo spreadsheet support conditional formatting / data bars (which are the background bar charts on a cell)...
See example below - and attached simple xlsx (in zip)
which in excel you add like
If not currently supported as standard, any suggested workarounds?
Thanks
Chris
Please refer to this Dojo example - https://dojo.telerik.com/IRIRahoS/2.
Currently, if the filter configuration is not explicitly set, the filter button from the toolbar seem inefficient. If you toggle a filter for a column, that filter is applied for that column only. In Excel, the filter will be applied for all columns. Also, you need to manually select all the cells that you wish to filter/sort.
Steps to observe the above:
In the Dojo example, toggle filter for a column only (without manually selecting cells).
You can see that the filter will be applied for that column only. Please compare to Excel.
You will see that there is no content to be filtered/sorted. You need to select manually. Again, please compare to Excel.
When the filter button is pressed, execute the filter configuration logic, so that it will behave as Excel.filter: { ref: "A3:G49", columns:[] },
Error occurred in browser console after select cell with value, pressing cut scissors button on top and press undo shortcut key combination (Ctrl+Z at windows or Cmd+Z at macos)
Uncaught TypeError: Cannot read property 'row' of undefinedHi Kendo Team,
The exported excel file from spreadsheet can not be opened in Microsoft excel when the spreadsheet has both a comment and a image.
You can reproduce the issue at your demo site https://demos.telerik.com/kendo-ui/spreadsheet/index
First add a comment for cell D3, then add a image, then export as xlsx.
Try open the export excel file, and you will see the error popup says "we found a problem with some content in workbook.xlsx ......"
It works when exporting comment and image separately.
Hi Team,
I have getting warning message when open down loaded excel file . This warning is coming if we apply conditional formatting in kendo spreadsheet .Please
check the URL
The wrap text tool hides some of the cell's text if it is too long.
Go to this Dojo. Select cell A1 and toggle the wrap text tool. The beginning of the text is not displayed.
Part of the cell's content is hidden.
All the text should be visible.
Hi team,
In kendo spreadsheet if you disable any row by adding enable property to false and apply sort from data tab, then the disable row is changing based on the sort. instead of applying to particular row it is applying to perticular range and while sorting the row items are changing. The cell properties are not applying there while sorting.
link for example: https://dojo.telerik.com/IkoJeMIz
please let me know if I am doing anything wrong here.
thanks.
Hi,
I encountered a bug when using the spreadsheet control with a remote datasource which I was able to replicate using the datasource binding demo (https://demos.telerik.com/kendo-ui/spreadsheet/datasource).
When entering data on an empty cell in an empty row not adjacent to a non-empty row (e.g. a row that is two rows below the end of the data); then editing a cell in the same row, but adjacent column, this creates two items in the corresponding datasource.
Editing an empty row above this new row will modify one of the records created in this process.
Dear Concerned,
1. Open https://demos.telerik.com/kendo-ui/spreadsheet/index
2. Select column B and drag mouse towards C, both columns will be selected which is correct behavior
3. Now just scroll down 2-3 rows using vertical scroll bar
4. Repeat step 2, this time it does not select B & C, instead it selects B,C,D,E.
5. Seems a bug, not an expected behavior.
Observation that might help you in fixing it:
1. if you move scroll bar in such a way so that no merged cell is visible it works well, e.g. scroll down till 20th row becomes first visible row on screen and now repeat step 2, it will work
2. if scroll position is on top then behavior is correct as well
3. Same issue exists in case of multiple row selection with merged column and scroll position.