Hello - I expect what I want to do is not supported. I that it he case, then I'll abandon this cool idea I have and not use the kendo spreadsheet.
I need a view-only mode that just shows the cells where they cannot be edited/modified. I need an admin-only mode where the entire spreadsheet control is functional.
For the view-only mode I tried the following, which does hide most of the stuff I don't want. But it requires more work to adjust heights and handle click events, at least. As it is when I do this various script errors are occurring when I click within the spreadsheet div:
$(document).ready(function () {
$('.k-spreadsheet-sheets-bar').hide();
$('.k-tabstrip-wrapper').hide();
$('.k-spreadsheet-action-bar').hide();
$('.k-spreadsheet-scroller').hide();
$('.k-spreadsheet-column-header').hide();
$('.k-spreadsheet-row-header').hide();
});
This is the code :
$("#chart").kendoChart({
title: {
text: "Distribution of roles per total number of articles(per selected levels)"
},
chartArea: {
width: 800,
heigth: 800,
stack: { type: "100%" }
},
legend: {
visible: true
},
seriesDefaults: {
type: "column"
},
series: [
{
name: "A",
// order: 1,
stack: "Chart",
data: chart_Profiling//[76067, 0, 0]
},
{
name: "B",
// order: 2,
stack: "Chart",
data: chart_Compulsory//[14183, 0, 0]
},
{
name: "C",
// order: 3,
stack: "Chart",
data: chart_Complement//[1197, 465606, 6567]
},
{
name: "HWW",
visibleInLegend: false,
stack: "Chart1",
data: chart_Profiling_1//[76067, 0, 0]
},
{
name: "HWW",
visibleInLegend: false,
stack: "Chart1",
data: chart_Compulsory_1 //[14183, 0, 0]
},
{
name: "HWW",
visibleInLegend: false,
stack: "Chart1",
data: chart_Complement_1//[1197, 465606, 6567]
},
{
name: "OHA E",
visibleInLegend: false,
stack: "Chart2",
data: chart_Profiling_All_SomeArticles//[76067, 0, 0]
},
{
name: "OHA E",
visibleInLegend: false,
stack: "Chart2",
data: chart_Compulsory_All_SomeArticles //[14183, 0, 0]
},
{
name: "OHA E",
visibleInLegend: false,
stack: "Chart2",
data: chart_Complement_All_SomeArticles//[1197, 465606, 6567]
},
],
seriesColors: ["rgb(214,186,114)", "rgb(197,200,203)", "rgb(170,115,80)"],
valueAxis: {
// majorUnit: (max7 / 10),
//max: (max7 + (max7 / 6)),
min: 0,
max: max7,
labels: {
template: "#= kendo.format('{0:N0}', value ) # "
},
line: {
visible: true
}
},
categoryAxis: {
categories: [Category1,Category2,Category3,Category4],
majorGridLines: {
visible: true
},
labels: {
template: labelTemplate,
rotation: -45
}
},
tooltip: {
visible: true,
template: "#= series.name #: #= value #"
}
,
pannable: {
// lock: "y",
// lock: "x"
},
zoomable: {
mousewheel: {
//lock: "y"
},
selection: {
// lock: "y"
}
}
});
}
I need to show the chart as shown in uploaded image.
There is my table:
public class Sound{ [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public Guid GUID { get; set; } [Display(Name = "Sound Type")] [Required] public SoundType SoundType { get; set; } [Display(Name = "Bandwidth, kHz")] public byte? Bandwidth { get; set; } [Display(Name= "Frequency, Hz")] public short? Frequency { get; set; } [Display(Name = "Duration, ms")] public short? Duration { get; set; } [Display(Name="Sound File")] public byte[] Content { get; set; } [Display(Name = "File Name")] public string FileName { get; set; } public Sound() { GUID = Guid.NewGuid(); }}
I just would like to show it in a grid and to be possible to upload files into the Content field and to store their names in the FileName field.
I've been trying to find out some examples of how to perform this, but almost all of them use separated steps to upload files into some directory on the server and to save the path to the file in the table then. I prefer to save the file attributes and its content as one step using Create or Update method of .
Is it possible to do it this way? Are there some examples?
Thank you.
https://demos.telerik.com/aspnet-mvc/scheduler/resources-grouping-vertical
When you have multiple attendees (Alex, Bob) and change the meetings time or date, only the first attendee gets saved.

Hi there,
I have a Master-Detail Grid setup. Inside the Detail template I use a Tabstrip with 5 items.
Inside each of the Tabstrip items I want to show some detail information about the selected (expanded) Master row. Here's my problem: the detail record contains about 30 columns, 27 of them must be readonly while the rest must be editable (hence the choice for yet another Grid). The default grid layout is horizontal, so I get one very wide horizontal row. Because of my screen real estate I want to show all these details in a table-like manner like 3 columns, 9 rows, last row for all the editable items.
Can you give me some advice and sample code how to handle this?
Best,
Peter

i want to check condition before save but still not work what im wrong ?
how to solve it
<p>save: Function(e) {</p><p>var currenVar = e.model.id;</p><p>var data;;</p><p>https.get($scope.service URL + currenVar.success(function (result){</p><p>data= result;</p><p>for (item in data){</p><p>if(data[item].id == currenVar {</p><p>alert('Cannot use this');</p><p>e.preventdefault();</p><p>}</p><p>}</p>
Hi,
I have a scatter line chart that is supposed to show incidents that occur simultaneously. I am almost there, but have some issues I haven't been able to solve:
1) The color of the lines and markers should all be the same. As it is the color seems to be random.
2) Same goes for the tooltip, as you can see some color combinations makes for very poor visibility. I have tried to set .Color("white") on the tooltip, but it has no effect.
3) Is it possible to set the size of the chart depending on the amount of data? If there are many simultaneous incidents the chart needs to be higher.
4) I would like to have labels instead of tooltips, labels that looks like the toopltips I get when hovering over a line, but they should always be visible for all lines.Is this possible?
Best regards,
Henrik
