When we use custom validation for a cell using below method kendo.spreadsheet.defineFunction("CUSTOM_VALIDATION", function(num){}); its triggered for each cell. Let say i have applied this validation method for 100 cells. If i changed any one cell then this method got invoked 100 times. Instead it should execute single time i.e, for that changed cell only. We cant keep 100 different methods for 100 cells. This will impact more on performance. Please look it on this and fix accordingly. This feature will be helpful for complex usage.
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.
The sheets bar should be configurable with some configuration options to control the ability to..
1. Add sheets
2. Remove sheets
3. Rename sheets
4. Reorder sheets
Hello,
We are using Spreadsheet widget in our system and have following questions to meet the demands of our customers:
Currently we use spreadsheet filtering configuration according to this example:
$("#spreadsheet").kendoSpreadsheet({ sheets: [ { name: "OrdersLog", mergedCells: [ "A1:G1", "A2:F2" ], filter: { ref: "A3:G49", columns:[] },
Can you please provide us with working examples of configuration (or required code adjustments) that will help us to meet the requrements above?
This will help doing data entry in column for scenarios like entering tax details for different years in columns and also user can keep on entering new year info in rew-row right most column.
It would be great if there is a cell (and column) type that lets you choose from a defined list (manually defined list or based on a cell-range). It should be possible to make multple selections and the output should be put into the cell separated with semi-colons.
Spreadsheet import currently handles (keeps) rich text formatting of a cell if the entire cell is formatted, such as a colored row or all bold text in cell. However, if the content of the cell is a mix of plain text and formatted text, the formatting gets dropped on import. If it is possible, it would be nice to keep rich text under this condition.
Currently if you access cells range programmatically, you can set background color, text color etc. It would be good to have the way to set classes or to get the DOM of the range. Another option would be to get DOM or set a class to individual cells (e.g. via range.forEachCell).
It would be nice to have text orientation support (at least vertical) like in MS Office.
I have altered the kendo code to add row and column references to the k-spreadsheet-cell dom objects. A sample of this is: <div style="color: rgb(81, . . . class="k-spreadsheet-cell r17c1 row-17 col-1"> . . . . I have items that I wish to place on top of cells in the spreadsheet. I can use these classes to identify the dom element corresponding to a spreadsheet cell object. I wish that this thing would let me post images. This is working really well. Request: It would be nice if the spreadsheet code to do this out of the box. Further, it would be beneficial to add a 'tag' property to a spreadsheet cell that would be indicated in the cell's dom object. If a cell has a tag, it should be rendered even if it doesn't have non-trivial formatting or a value.
I use data binding data source for spreadsheet But when I use it, data auto input begins at row 0 I want to insert 2 row (To Write title)
IF any custom validation available for spreadsheet cells, then while exporting the sheet, those validation error messages or formats not getting exported. So here it will be helpful if its exports validations too. So user can see error in both UI and Exported file. In the below example, user can see the error messages in ui but cant see on the exported file. https://docs.telerik.com/kendo-ui/controls/data-management/spreadsheet/how-to/validation-to-column
DefaultCellStyle property in spreadsheet has a field “Wrap”, but doesn’t have a field “Format”. For example, if I need to process all cells as text, I must set the field “Format” on a client side: sheet.range("A1:AX200").wrap(true).format("@"); It works. But the initialization of the range ("A1:AX200") takes time… It is not very fast… It would be better to have the field “Format” in the DefaultCellStyle property in spreadsheet…
Custom editors are great! But often when you have a custom editor, you want to restrict data entry to only use that editor, and not free-form typing in the cell. You can prevent free-form typing in the cell by disabling the cell, but then the custom editor button is no longer available. Suggestion is to still show custom editor button even if cell is disabled, perhaps with an additional setting; so that you could optionally not show the custom editor if the cell is disabled, since often a disabled cell should prevent any kind of modification.
Can the Spreadsheet widget be updated to initialize a sheet that is bound to a datasource when the datasource is an empty object? Generally, when a sheet is bound to a datasource, it is for the purpose of editing data, creating new rows and updating/deleting existing rows. If a datasource comes back empty, the sheet isn't initialized. So there are no column headers, which can be confusing to users when they don't know what data to enter in which columns. The other thing is that the sheet itself is not fully initialize so that even if we assign column headers programmatically, when users start entering data, the UI becomes unresponsive and generates a javascript error: Uncaught TypeError: Cannot read property 'indexOf' of undefined at r.set (kendo.all.js:4586) at r.set (kendo.all.js:4760) at kendo.all.js:127702
I checked out the feature request provisions on your site. Since I'd like to include photos with my description, I'm hoping that it is okay that I send this to you for forwarding on to the appropriate audience. My feature request involves the spreadsheet control in Kendo's JQuery controls The request is for an attribute to be added to a cell of a spreadsheet which can be used by JQuery to associate the HTML dom element with the spreadsheet's javascript model. Here is why: In needing to place things in the cells of spreadsheets (such as images and my own custom controls) as can be seen in my images 1 and 2, it is necessary to know which div.k-spreadsheet-cell corresponds with a kendo javascript spreadsheet cell. As a work around, I have given my custom controls an index number. In the kendo javascript object, I set the cell's background color to the same value as that index. This gave me two benefits: 1) it put a characteristic on the cell's div object that could identify the cell; 2) it rendered the cell even if it had no content--this is particularly important. In my image 4, you can see the background color attribute of a cell div. In image 3, you can see my collection of custom controls. Each of my div.custom-control has a control_index property. I have a routine that runs periodically to reckon the location and size of each control whose background color is set to a value matching one of my cell's control indices. Once located, the controls are laid down onto their respective cells at their appropriate size (or made invisible if the target cell is scrolled off of the container). This work around contains a lot of painful overhead. For instance, when a spreadsheet is first rendered, I have to traverse the div.k-spreadsheet-cell elements to check their background color attributes. If they qualify, a css class must be placed on the cell so that a black cell isn't presented in the time that it takes to reckon and position my custom controls. If there were a 'tag' attribute that could be added to a cell's javascript model and that tag was ascribed to the div.k-spreadsheet-cell element (AND make the element render even if it is otherwise trivial), this operation would be a lot easier. I think that I'm not the only one who would like to take some control over the dom objects of the spreadsheet control. I would be happy to discuss this further with anybody who is interested. Thanks, Doug
By default the items in filter are in random order. Can we sort the items in ascending order by default.