Telerik Forums
Kendo UI for jQuery Forum
1 answer
91 views

Hi Team, 

I an having some difficulties with the kendo grid here is the Dojo example : https://dojo.telerik.com/fiaCOGgH

As I can not scroll below this point, I clicked on the Page 4 in the Pager and i was able to see the last row see below screenshot :


Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 26 Nov 2024
2 answers
58 views

Hi,

Was wondering if there is a way to get the actual active sheet as soon as it is selected. the selectSheet handler will access the previous sheet and its properties:

 

Is there a later event that will allow me to grab the activeSheet and tap into its properties? I am trying to get the sheet name, so I can cross reference it against a data source. but I need this info prior to someone selecting a cell (prior to a change event or accessing the change event handler) on the newly selected active sheet.

I need to grab the activeSheet as soon as the sheet is selected... I need to get the actual sheet that was selected on the event and NOT the previous sheet. Apparently activeSheet is updated after the selectSheet event. If I try to do this on the change event, it slows things down on the selection of the cell I am editing.

Thanks!

George

 

George
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 22 Nov 2024
1 answer
156 views

After upgrading to 2024 Q4, the function to export charts to images no longer works.

var chart = $("#chart").getKendoChart();
    chart.exportImage().done(function(data) {
        kendo.saveAs({
            dataURI: data,
            fileName: "chart.png"
        });
    });

The error received is: Uncaught TypeError: chart.exportImage(...).done is not a function.

This can also been seen in the API examples.
https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/methods/exportimage

Nikolay
Telerik team
 answered on 22 Nov 2024
1 answer
47 views

I am attempting to change my existing NumericTextBox to do something custom when the value is zero. It was requested that we display a double zero in that one scenario. All other scenarios should act the same as they do out of the box for the NumericTextBox. Is this do-able with the existing functionality of the NumericTextBox?

Basically the request is to do this --

Value: 0

Display: 00

 

Value: 234

Display 234

Nikolay
Telerik team
 answered on 22 Nov 2024
0 answers
96 views

When hovering over the legend of a series in a Line Chart, the chart is rendering a marker for every data point in the series. I was wondering how I can disable this functionally so that only the series line gets highlighted when a legend item is hovered.

In the series object I am setting the markers visible value to false and setting the highlight's opacity.

highlight: {
    inactiveOpacity: .3,
    opacity: 1
},
markers: { visible: false },

When no series is highlighted, no markers appear: I wish to keep this.


When a series is highlighted, only the marker at the data point appears: I wish to keep this.


When a series legend is hovered, a marker for every data point appears. How can I get it to look like the second image to where no markers are shown and only the legend item's associated series is highlighted?

Kenny
Top achievements
Rank 1
 asked on 21 Nov 2024
0 answers
59 views

Hi All, I have just updated to 2024.4.1112 from 2024.1.130 and the fist thing I notice is that the selected tab in a tabstrip appears differently to how it was before - now it has bold text and a strange border (when hovering).  Looking in the release notes there is a note saying "TabStrip rendering mismatch more info here" which takes me to a page with info about modifying CSS rules (which I don't want to do).

Here's what it used to look like (nice):

Here's what it looks like now (harsh):

Here's how I create the TabStrip:

        var tabStrip = e.detailRow.find("#leadDetailsTabstrip").kendoTabStrip({
            animation: { open: { effects: "fadeIn" } },
            activate: dcLead.onActivateTab,
        }).data("kendoTabStrip");

Have I missed something?

Gordon

Gordon
Top achievements
Rank 1
Iron
 asked on 21 Nov 2024
1 answer
54 views

Hi,

I need to know that is it possible to change the order of Kendo Grid Footer components like Pagination, Refresh button, Items Per page etc.

Nikolay
Telerik team
 answered on 21 Nov 2024
1 answer
84 views

Having a Kendo editor declared like this:

                @(Html.Kendo().EditorFor(m => m.MyEditor)
                            .Name("MyEditor")
                            .Resizable(true)
                            .StyleSheets(css => css.Add(Url.Content("~/Content/EditorStyles.css")))
                            .Messages(messages => messages
                                .FontNameInherit("Default")
                                .FontSizeInherit("Default")
                            )
                            .Tools(tools => tools
                                .Clear()
                                .Bold()
                                .Italic()
                                .Underline()
                                .JustifyLeft()
                                .JustifyCenter()
                                .JustifyRight()
                                .InsertUnorderedList()
                                .InsertOrderedList()
                                .Indent()
                                .FontName(fonts => fonts
                                    .Add("Arial", "Arial")
                                    .Add("Courier New", "Courier New")
                                    .Add("Helvetica", "Helvetica")
                                    .Add("Times New Roman", "TimesNewRoman")
                                    .Add("Verdana", "Verdana")
                                )
                                .FontSize(sizes => sizes
                                    .Add("8", "8pt")
                                    .Add("9", "9pt")
                                    .Add("10", "10pt")
                                    .Add("12", "12pt")
                                    .Add("14", "14pt")
                                    .Add("16", "16pt")
                                    .Add("18", "18pt")
                                    .Add("20", "20pt")
                                )
                        ))
Is there any way to programmatically add the font sizes instead of with the fixed .Add method?  I need to read a configuration file in the model then based on the font sizes of the configuration, add only those font sizes to the dropdown.  I am a little stumped on how to do this using the EditorDropDownItemBuilder approach.  Thanks for any help.

 

 

 

 

Alexander
Telerik team
 answered on 20 Nov 2024
1 answer
48 views

We have a kendo grid using a number of features including sticky and nested columns.   The non-sticky (nested) columns are sluggish when trying to resize.   It does work, but the animation is slow. 

Is there anyway to improve the performance of the grid resizing in this situation?   There doesn't appear to be an animation option behind that that could be disabled.   

Martin
Telerik team
 answered on 20 Nov 2024
1 answer
59 views
Hello,

I'm trying to configure a radar chart using Kendo UI to display data for our dimensions. The chart should only display three axis values: 0, 40, and 100. These values are the only possible ones for our dimensions, and we'd like to make the chart more readable by displaying only these three values.

I've tried to configure the chart using the following code:


$("#graph").kendoChart({
    title: {
        text: "Dimensions"
    },
    legend: {
        position: "bottom"
    },
    seriesDefaults: {
        type: "radarArea",
        color: "#0033c4"
    },
    series: [{
        name: "",
        data: ["40", "100", "0", "0", "40"]
    }],
    categoryAxis: {
        categories: [
            "Dimension 1", "Dimension 2", "Dimension 3",
            "Dimension 4", "Dimension 5"
        ],
        color: "black",
        majorGridLines: {
            visible: false
        }
    },
    valueAxis: {
        max: 100, 
        min: 0,   
        majorUnit: 20,
        labels: {
            visible:true,
            format: "{0}%"
        },
        majorGridLines: {
            visible: true 
        },
        line: {
            visible: true 
        }
    }
});
However, I'm having trouble finding a way to display only the axis values 0, 40, and 100. I've tried using the majorUnit property to set the major unit of the axis, but it doesn't seem to work as desired. ( If I put 40....i will get 0, 40 and 80 ).

Could you please help me configure the chart to display only the axis values 0, 40, and 100?

Additional Information:
Kendo UI version used: kendoui.for.jquery.2024.3.806.commercial

Thank you !
Jay
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 19 Nov 2024
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?