I have an application that uses the spreadsheet to upload data within an angular component on my page. The component allows the user to click either an Update or Cancel button when they are done with any additional editing on the spreadsheet. This works fine, except when the user edits a cell and then clicks a button without moving to another cell in the spreadsheet. According to some of the documentation, I should be able to call the change event on the spreadsheet to set this, but this seems to occur AFTER the calls to the button events.
I have been able to set the value of the cell to the value in the editor using $('.k-spreadsheet .k-spreadsheet-view .k-spreadsheet-cell-editor'). However, if the user then tries to open another spreadsheet within this component, the value for this element is what they had been typing prior to hitting the Update or Cancel button. This then appears to overwrite that cell on the new spreadsheet, although it is not saved when the user selects another cell. In other words, if the user is in cell C3 typing 'my new text' without moving to another cell, clicks Update, and clicks Add Another Spreadsheet on the parent component, cell C3 of the new spreadsheet will read 'my new text' regardless of what was in that cell in the Excel file. If the user then clicks on another cell, the original value does show, but it's confusing to the users.
Is there any way to clear the contents of the k-spreadsheet-cell-editor div tag? I have tried setting it to '', but then it removes the text from the corresponding cell on the new spreadsheet.
I know you are going to want a demo, but this is a VERY complex application and I have very little time to fix this. I JUST need a way to clear that information so that it is not stored in the angular component's view when a new sheet is rendered.
Thanks!
Hello!
I was able to reproduce the problem by adding just two lines of code (filterable: true, columnMenu: true) to the official Kendo Grid basic usage demo: http://dojo.telerik.com/iSEcU/2
Repeat following steps:
1. Click on column menu icon
2. Move mouse cursor to "Filter" menu button -> "Filter" sub menu opens
3. Move mouse cursor to one of the two filter text input fields without leaving the "Filter" sub menu area -> "Filter" sub menu closes immediately
Current work-around is to click at one of the drop down lists first or to use the tab key to navigate between the input fields.
However, this seems like a bug to me, which is very annoying to our users. How can this be fixed?
Best regards,
Kaan
Hi team!
I need to add new row with inline input to grid automatically when grid loaded. I do it in dataBound (see below).
My "pipeline" is next:
I have two problem with it:
see screenshot please.
Could you please suggest me a right way? :)
Just in case I've attached an screenshot and my js code
Thank you.
dataBound: function () { setTimeout(function () { var grid = $("#order-grid").data("kendoGrid"); grid.addRow(); }); },
...
model: {
id: "Id",
fields: {
Gtin: { validation: { required: true }, editable: true, type: "string" },
...
}
}
I'm trying to permanently make the connectors visible and not just when you hover over it with the mouse. I can't seem to find the option to turn off the hover option that makes them appear when I hover over a shape. What would be the best way to accomplish this?
Thanks!

Hi,
If my chart has only a line series, then the category axis labels align with the line values. But if i add an area series too, then the labels align with the area values instead of the line values.
Is it possible to have both, a line and an area series, but to keep the category axis labels aligned with the line values? (in the images, the grey area has 2 values: 0, 0)
@(Html.Kendo().Chart() .Name("graph") .Title("") .Legend(legend => legend.Visible(false)) .Series(series => { //light grey area series.Area(Model.Model.GreyAreaValues).Name("GreyArea").Color("#F2F2F2").Opacity(1).Line(l => { l.Color("#F2F2F2"); l.Style(ChartAreaStyle.Step); l.Width(4); }).Axis("valuesAxis").Markers(false); //blue line series.Line(Model.Model.BlueLineValues).Name("BlueLine").Color("#3399FF").Width(4).DashType(ChartDashType.Solid).Markers(false).Style(ChartLineStyle.Step); }) .CategoryAxis(axis => axis.Name("categoryAxis") .Categories(Model.Model.CategoryValues) .MajorGridLines(lines => lines.Visible(false)) .Labels(l => l.Format(CateGoryLabel) .Margin(1)).Justify(true) .Labels(l => l.Font("'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans - serif")) ) .ValueAxis(axis => axis .Numeric("valuesAxis") .Labels(labels => labels.Format("{0:C}")) .Labels(l => l.Font("'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans - serif")) .AxisCrossingValue(-10) .MinorGridLines(l => l.Visible(false)) .MajorGridLines(l => l.Visible(false)) ) .Tooltip(tooltip => tooltip .Visible(true) .Format("{0}%") .Template("#= kendo.toString(value, \"c\") #") )
Thank you in advance!
Hi,
in my scenario I have two different y-Axes. As you can see on the screenshot below the 0 point of the axes are not on the same height. Is there any possibility to modify they-axes, so the 0 point of the y axes are on the same height?
Thanks and best regards
Daniel
I want to load tabstrip when the tab is clicked only. It would work if I put contentUrls in "document ready function". But when I put url in <div class k-content-url=...> with angularjs, it will load all the tab content together.
How can I use angularjs inside tabstrip but load the tab content on demand only? Thanks.
No angularjs, but each tab load on demand:
$(document).ready(function () {
var ts = $("#tabstrip").kendoTabStrip({
animation: { open: { effects: "fadeIn" } },
contentUrls: [
'clientApp/views/admin/access.html',
'clientApp/views/admin/facility.html',
angularjs but all tab content load immediately
<div class="col-md-9 addpadding" kendo-tab-strip k-content-urls="[ null, null, null]">
<ul>
<li class="k-state-active">Basic Info</li>
<li>another tab2</li>
<li>another tab3</li>
</ul>
<div style="padding: 1em" data-ng-class="{inactivePink: staff.Inactive}">
<div data-ng-include="'/clientApp/staff/partial/basicinfo.html'"></div>
</div>
<div style="padding: 1em">
<div data-ng-include="'/clientApp/staff/partial/anothertab2.html'"></div>
</div>
</div>
{ command: [{ name: "edit", text: "", width: 30 }], title: " ", width: 55 },I am using a DropDownList with Kendo Mobile, and would like to override the mobile style when clicking the control.
Now it get's style as the image to the left (mobile style), but I'd prefer the standard kendo style (right)
I have a column on a grid that is a boolean value. The user has three filter choices; True, False or Show All (i.e. no filter). Because the column is boolean
filter({ field: "fieldName", operator: "startswith",value: "" })
raises an exception. The boolean column won't accept a string in the filter on the server (uses Ajax).
How can the filter for the column be 'reset' (there may be other columns filtered, so any other filters are still needed)?
