Reported in ticket № 1429260
The date is pasted as string with value of hash tags.
The date is pasted as a date
The e.ClipboardContent.data contains the hash tag string as value, so the issue should be somewhere in the clipboard pasting logic
I am using kendo spreadsheet binding to a datasource... very similar to the demo: https://demos.telerik.com/kendo-ui/spreadsheet/datasource
Is there a way to add a two row header while binding to a data source? For example, my first row would be a merged cell spanning all columns and would contain some text. I can see how to do two row headers and to merge cells.. but it doesn't work when the spreadsheet is bound to a datasource as it starts the data in row 2.... where I want row 2 to be my actual field name headers. I don't see any options to fix that.
If there is no way to do that... is there a way to alter my header style? For example, I want a column header to be
MY FIELD NAME HERE
additional text (smaller font and color)
I know in kendo grid there is headerTemplate... but this doesn't seem to be available in kendo spreadsheet.
Thank you.
The spreadsheet widget has no Polish localization.
Feel free to use those: https://github.com/telerik/kendo-ui-core/pull/5310
Excel supports deselecting cells from selected ranges, e.g. selecting a range from cell A1 to A10 results in a range A1:A10. Then deselecting cell A5 from that range produces two new ranges - A1:A4 and A6:A10.
Now a more complex example - selecting multiple ranges with intersecting cells - A1:B10, A5:D10, A9:C14 and A9:G9.
Deselecting
cell B9 in Excel produces a new range with cell A9 only and then a range
C9:G9. And B9 should be excluded from the other 3 ranges.
Currently the Spreadsheet widget does not know how to do this. There is no logic to decide what new ranges should be created on such operation. What it currently knows is creating new ranges and these ranges may overlap. Thus clicking on cell B9 creates a new range with cell B9, instead of deselecting B9 from the already selected ranges.
There is no TypeScript definition for defineFunction and no custom functions can be created in TypeScript context using the approach demonstrated in this Custom functions article.
Try defining a new function using:
kendo.spreadsheet.defineFunction("Mask",mask).args(maskArgs)
The following error appears:
Propery "defineFunction" does not exist on type 'typeof spreadsheet'
There shouldn't be any errors
Hello,
Is is possible to trigger validation in cells in spreadsheet control? I want to make all validation controls with a button click outside the spreadsheet control.
When the Spreadsheet is bound to a DataSource upon making multiple selections in the Spreadsheet and deleting the selected ranges a JavaScript error is thrown: "Unsupported for multiple ranges." The selected cells are deleted on the UI, but the DataSource change event is not triggered.
A JavaScript error is thrown: "Unsupported for multiple ranges." The selected cells are deleted on the UI, but the DataSource change event is not triggered.
Upon an attempt to delete multiple selections a popup should be displayed with a warning that this operation is not supported, similar to trying Copy/Paste multiple selections.
Hi,
I want to highlight spreadsheet on cell hover. But I just want to highlight row and column until cell. Is there any way to do this ?
In example, When my mouse on cell E11.
Best Regards,
Kaan
When multiple cells are merged in the Spreadsheet the DatePicker is not always rendered at the correct position.
The DatePicker is not always entirely visible (screencast)
DatePicker should be visible
When importing from Excel in Spreadsheet if a date is entered, but the date format is not set explicitly, the imported date always has the following format: "mm-dd-yy". The issue is observed even if a culture is set.
The value in Excel is "15.6.2020" , but the imported date in the Spreadsheet is "05-15-20" screencast
The format of the dates should be the same as in the imported file.
when the color of the borderBottom is commented
"borderBottom": {
//"color": "black",
js error when color is not applied a cell of the Spreadsheet
kendo.all.js:61278 Uncaught TypeError: e.transform is not a function
https://dojo.telerik.com/@zdravkov/iVoJuxAZ
export to pdf
js error
the data is exported correctly
cell connection in Spreadsheet is not working when the sheet contains 1.0 in the name
download the file from ticket - 1500102
open our demo - https://demos.telerik.com/kendo-ui/spreadsheet/index
open the file from the ticket in the Kendo Spreadsheet
cell F17 is not connected with cell B12 from the second sheet
cell F17 is connected with cell B12 from the second sheet
note: if the name of the sheet is changed to something different than 1.00 for example 'A' the cells are connected
The Spreadsheet SLOPE and INTERCEPT functions do not calculate if arrays passed as parameters contain blank or string cells
Calculation of the SLOPE and INTERCEPT functions should be consistent with Excel
Custom validation error can not be handled in spreadsheet
https://dojo.telerik.com/@zdravkov/uJuruCod
go to Data->Data Validation->Custom Formula (Ignore blank, Reject input),
open the console,
than if you enter an invalid formula (<4, >A3 or something like this) and press Apply, in the console you can see an exception
The exception can't be handled
One should be able to handle the exception
workaround - https://dojo.telerik.com/@zdravkov/adEWOlOk
Hi there,
When a spreadsheet is linked to a datasource, if you leave a gap between previously entered rows and your new data, each cell edit creates a new item in the datasource with only the cell modified.
Here is the record after adding one cell.
and after adding another cell:
This is the state of the spreadsheet:
I managed to replicate this in dojo here: https://dojo.telerik.com/eRiHocar
Hi, I'm using the spreadsheet control and i'm having an issue with date columns.
When I enter a valid date, it works fine.
but when I enter an empty date (clicking delete on date column, or emptying out the contents)
the date gets stored as "new Date(0,0,-1)" ["Sat Dec 30 1899 00:00:00 GMT+1130 (New Zealand Daylight Time)" in my local time]
obviously, this is incorrect, and it should store the value as NULL.
it happens regardless of whether the schema/model has nullable=true.
If I manually modify the dataItem via JS, it stores it correctly as null.
I have a dojo demo set up which replicates the issue.
https://dojo.telerik.com/oFowivUN
Steps:
Doing some investigation into the kendo code, it seems to be caused by the serialToDate method of the spreadsheet.
Thanks
When an Excel file with 'Set precision as displayed' option enabled is imported in the Spreadsheet the calculations are not the same as in the Excel file.
Reproduction:
1. Open the Spreadsheet demo
2. Import the excel file from the zip. in the Excel file the following option is enabled - File->Options->Advanced->When Calculating this workbook-> Set precision as displayed
The value in Excel in C1 column is 399.96, while the value displayed in the Spreadsheet is 400.00
I would like to have support in Spreadsheet for Excel files with 'Set precision as displayed' option enabled.
In my application I am using the following.
kendo.ns="kendo-";
Dojo example: https://dojo.telerik.com/@iankodj/aKIyEwUv
The spreadsheet component works well with the namespace, however any dialogs that the component opens do not function correctly.
For example, I am using Edge browser. If I copy a cell and they try and past the value via the context menu, a dialog appears telling me to use the keyboard.
The "ok" button of the dialog does not work. Looking at the html source that is added to the DOM, it appears that the button is trying to bind to the click event via a "data-bind" attribute rather than a "data-kendo-bind" attribute as specified via the namespace.
The attached file show the behavior with the Basic demo example having the kendo namespace set.
Thanks,
Darin