Telerik Forums
Kendo UI for jQuery Forum
3 answers
322 views

See attached files.

I have a pivot that is mostly functional, however clicking the column block either in the pivot grid or in the configurator indicates the columns can be sorted, but while the icon changes, nothing actually happens. This appears to be a bug.

I have also just noticed the same issue for row groups. The icon indicates there is sorting, but nothing happens.

Konstantin Dikov
Telerik team
 answered on 17 Apr 2017
3 answers
292 views

Hi Support,

 

we are using bubble charts in various places and make use of the series notes to show information (rather than using the series label which would restrict us in what information is shown I believe).

When series points in the plot area are near its limit, the labels get cut off or are even completely gone, if the bubble is drawn right at the edge of the plotArea border.

As we don't know in advance where each bubble will site in the plot I also can't say "always position note beneath bubble".

Is there a way to make the kendoChart understand that the notes are part of the overall renderable area so the plot are automatically expands automatically to ensure the note labels are not cut off ? Attached an example for some cut off labels on the left of the chart but it can happen anywhere obviously.

Is there potentially also something like a "Smart Label" feature for kendoCharts where I can pass any note/label to a bubble and kendo computes the best position so it does not overlap with other labels from other bubbles and also does not render outside the plot area ? I think I ready something about smart labels in some other component from Telerik.

Regards,

Steve

Stefan
Telerik team
 answered on 17 Apr 2017
1 answer
123 views
Hello,

I'm very interested to use diagram component to create modelization tool but i need some details on elements i can customize :

Is it possible to :

- associate multi templates ? 1 template / shape

- add point on a connection ?

- change connection color for a gradient ? or an image ?

Thanks for your answer.

Nicolas

Stefan
Telerik team
 answered on 17 Apr 2017
18 answers
1.6K+ views
Hi

It's mentioned here, http://www.kendoui.com/forums/ui/upload/rails-anti-forgery-tokens.aspx, that you plan on making forgery tokens work for the next release. Did that happen and does it work in the DataSource? I'm trying to do exactly what is described here http://stackoverflow.com/questions/4074199/jquery-ajax-calls-and-the-html-antiforgerytoken but not sure how I can make that work.

Thanks
Matt 
Chris
Top achievements
Rank 1
 answered on 17 Apr 2017
1 answer
317 views

I encountered the same thing in my code, when deleting a record, it doesn't actually delete until you Save. This seems very un-intuitive, there is no feedback at all saying there are unsaved changes, also there is already a prompt asking me if I wanted to save changes. I could understand this behavior if that prompt was turned off but there should still be SOME feedback to the user that they have unsaved changes.

 

Is this a bug, or is there an easy way to display to the user they still need to click Save?

 

https://demos.telerik.com/aspnet-mvc/grid/editing

Preslav
Telerik team
 answered on 17 Apr 2017
5 answers
2.5K+ views
.Events(e => e
            .DataBound("alert('hi 1 ')")
            .DataBound("alert('hi 2')")
        );

Is it normal that we cant use the fluent eventbuilder with multiple events (same event type) ?

Kind regards,
Bart,
Stefan
Telerik team
 answered on 17 Apr 2017
1 answer
105 views

Hello ,

i am working on a chartingtool with variable datasources and more than one chart.

 

in my model i have a object[] which contains the chartdata for the charts.

this model has an array of List<ChartDataSerie>[] which contains the data for every series.

ChartDataSerieModel:

01.public class ChartDataSerie
02.   {
03.       public ChartDataSerie(string description, double value)
04.       {
05.           Description = description;
06.           Value = value;
07.       }
08.       public ChartDataSerie(string description, double value, string color, double opacity)
09.       {
10.           Description = description;
11.           Value = value;
12.           Color = color;
13.           Opacity = opacity;
14.       }
15. 
16.       public string Description { get; set; }
17.       public Double Value { get; set; }
18.       public string Color { get; set; }
19.       public double Opacity { get; set; }
20.   }

 

 

Now i want to bind a serie to a List<ChartSeriesData>, Value contains the Data, Description contains the Category

  1. each object contains an chart in Model.Kennzahlen, for to create a chart for every object in Model.Kennzahlen
  2. want to create an serie for every object in Model.Kennzahlen[i].Series
  3. Value are always a double, and Description (Category) the same at every Series ( Date in string)
01.@for (int i = 0; i < Model.Kennzahlen.Count; i++)
02.        {
03.               <div class="col-lg-3">
04.                <div class="ibox float-e-margins">
05.                    <div class="ibox-title">
06.                        <h5>Chart 1</h5>
07.                    </div>
08.                    <div class="ibox-content">
09.                        <div>
10.                            @(Html.Kendo().Chart(Model.Kennzahlen[i].Series)
11.                                .Name("chart" + i)
12.                                .Legend(legend => legend
13.                                    .Visible(false)
14.                                    .Position(ChartLegendPosition.Bottom)
15.                                )
16.                                .ChartArea(chartArea => chartArea
17.                                    .Background("transparent")
18.                                    .Height(200)
19.                                )
20.                                .Series(series =>
21.                                {
22.                                    for (int x = 0; x < Model.Kennzahlen[i].Series.Length; x++)
23.                                    {
24.                                        series.Column(Model.Kennzahlen[i].Series[x]);
25.                                    }
26.                                })
27.                                .CategoryAxis(axis => axis
28.                                    .Categories(model => model[0].Description)
29.                                    .MajorGridLines(lines => lines.Visible(false))
30.                                    .Line(line => line.Visible(false))
31.                                )
32.                                .ValueAxis(axis => axis.Numeric()
33.                                    .Max(28)
34.                                    .MajorGridLines(lines => lines.Visible(false))
35.                                    .Visible(false)
36.                                )
37.                                .Tooltip(tooltip => tooltip
38.                                    .Visible(true)
39.                                    .Format("{0}%")
40.                                    .Template("#= series.name #: #= value #")
41.                                )
42.                                )
43. 
44.                        </div>
45.                    </div>
46.                </div>
47.            </div>
48.        }

 

How can i solve this ?

 

Thank you in advance and hope it is understandable for you :)

 

 

 

Thank you in advance
Thank you in advance
Konstantin Dikov
Telerik team
 answered on 17 Apr 2017
1 answer
264 views

Hello All,

I have a working Kendo UI grid in my VS 2010 Pro project, with aggregation (sum). However, when deployed to a IIS 6.0 server, I get a JavaScript error:

VM565:3 Uncaught ReferenceError: sum is not defined
    at Object.eval [as tmpl0] (eval at compile (kendo.all.js:194), <anonymous>:3:130)
    at Object.eval (eval at compile (kendo.all.js:194), <anonymous>:3:267)
    at d (jquery.min.js:2)
    at init._footer (kendo.all.js:48733)
    at init.refresh (kendo.all.js:50132)
    at init.d (jquery.min.js:2)
    at init.trigger (kendo.all.js:124)
    at init._process (kendo.all.js:6912)
    at init.success (kendo.all.js:6657)
    at success (kendo.all.js:6584)

I've compared file by file with WinMerge, and both development and production file sets are identical. Any pointers?

 

Thank you.

Eduardo
Top achievements
Rank 1
 answered on 15 Apr 2017
5 answers
1.2K+ views

For a project I'm currently working on I need my users to be able to add their own rows into an existing excel sheet. However, when I press the 'Insert row below' or 'Insert row above' buttons I get a message saying: "Cannot insert cells due to data loss possibility. Select another insert location or delete the data from the end of your worksheet." Afterwards I noticed that all excel sheets seem to have a fixed height.

I've tried these things:

  • $("#spreadsheet").data("kendoSpreadsheet").activeSheet()._rows._count += 5;
  • $("#spreadsheet").data("kendoSpreadsheet").activeSheet().insertRow(<current last row index>);
  • $("#spreadsheet").data("kendoSpreadsheet").activeSheet().range(<current last row index>).values([''])

I'm not using a datasource, I'm filling the sheet using an AJAX call and the 'fromJSON' method. This is because I need to manipulate some of the data before sending it to the client.

 

Ivan Danchev
Telerik team
 answered on 14 Apr 2017
1 answer
124 views

The panelbar is dynamically generated in the .cshtml and some admins are entering <ul><li> items and it's causing the content zone to generated L2+ panelbar items.

 

I'd just like the ROOT to be a panelbar, and just render html in the content area.

 

Possible?

 

 

Nencho
Telerik team
 answered on 14 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?