Telerik Forums
Kendo UI for jQuery Forum
2 answers
145 views

Hello

I am trying to use Angular Kendo UI Tooltup within the Kendo Validator's errorTemplate but tooltip does not seem to work. Is this supported?

See example http://dojo.telerik.com/IDamo/12

Thanks

 

 

 

James
Top achievements
Rank 1
 answered on 10 Feb 2017
1 answer
123 views

Defining a non-empty optionLabel breaks keyboard navigation when ARIA or JAWS is used.

See the example at http://dojo.telerik.com/@richm/OLumO.  Using Chrome and ARIA, I focus the dropdown and press Alt-DownArrow to open the list.  Pressing down arrow again should begin to navigate within the list, but instead ARIA announces "blank" and further down arrow keypresses seems to move navigator seems to move around the HTML document and the dropdown closes.  JAWS behaves similarly.

This does not occur if ARIA or JAWS is not running.

Any help appreciated - thanks.

 

Veselin Tsvetanov
Telerik team
 answered on 10 Feb 2017
2 answers
1.8K+ views

Hello all,

I am looking for the css class that I can use to override the "v" icon that is shown to the right of a Kendo DropDownList.  If I can't replace the icon itself, I'll settle for changing the color of it. 

 

For what it's worth, here's my dropdownlist:

var facilityList = Html.Kendo().DropDownList()
.Name("facilityList")
.HtmlAttributes(new { style = "width: 200px;" })
.Items(items =>
{
foreach (var item in Model.Facilities.Values)
{
items.Add().Text(item.Name).Value(item.Id.ToString());
}
});

 

 

Ivan Danchev
Telerik team
 answered on 10 Feb 2017
1 answer
106 views

Hello, I'm new to Kendo and can't find the solution of my problem. 

I've a grid with local data and want to add new records. Thats fine so far. But when I start to scroll chrome says: RangeError: Maximum call stack size exceeded. I think something is missing in my grid configuration.

http://jsbin.com/tozixeroxo/1/edit?js,output

 

thank you

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 09 Feb 2017
1 answer
1.0K+ views

Hello,

We're trying to find a way to setup a data grid that has locked columns but also has the column widths decided by the content of the cells.  When switching the grid from the default Scrollable true, to false, we get the auto table layout but lose the locked columns.  Is there a way to have both?  We're trying to avoid setting specific widths for each column in the grid.

Thanks

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 09 Feb 2017
1 answer
218 views

Hello,

I have a grid where I am changing the sort in javascript when a certain action is performed.

The grid is paged, and when the sort occurs, it stays on the same page. I want the pager to reset (back to page 1).

This could be accomplished by:

var grid = $("#grid").data("kendoGrid");
grid.dataSource.sort({ field: "Name", dir: "asc" });
grid.dataSource.page(1);

However - both the sort and page methods cause the grid to refresh. (Read)  Is there a way to avoid the multiple refreshes?  i.e. Set the sort without refreshing the grid, then calling page(1) to refresh the grid?

Eduardo Serra
Telerik team
 answered on 09 Feb 2017
2 answers
233 views

How to reduce the height of the top title row in kendo grid?  I tried but failed.

.k-grid-header .k-header {height:1em!important; line-height:1em!important;}

I already reduce the row height by css successfully.  But how to apply to title row?

.k-grid td {
line-height:1.3em!important;
}

Thanks.

Kent
Top achievements
Rank 1
 answered on 09 Feb 2017
3 answers
492 views

A have a chart and a grid with ~100 lines, then another chart with a grid with ~100 lines on a bootstrap built page with an export to PDF button on it. I can press the button and it will export all of the data to a single page. When it comes to printing the PDF the content is so small it's unreadable. This is the javascript to do that:

    // Convert the DOM element to a drawing using kendo.drawing.drawDOM
                    kendo.drawing.drawDOM($(".content-wrapper"))
                    .then(function (group) {
                        // Render the result as a PDF file
                        return kendo.drawing.exportPDF(group, {
                            paperSize: "auto",
                            margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }
                        });
                    })
                    .done(function (data) {
                        // Save the PDF file
                        kendo.saveAs({
                            dataURI: data,
                            fileName: filename + ".pdf",
                            proxyURL: "//"
                        });
                    });

In both the drawDOM and exportPDF sections I have tried to set the page size to "A4" and multipage enabled, with and without page breaks but it never seems to scale the page properly and sometimes the charts just don't render at all.

The page is in sections and so could be split over multiple pages with a page break class.

What do I need to do to have the PDF page break correctly whilst staying at the correct scale?

Gary
Top achievements
Rank 1
 answered on 09 Feb 2017
6 answers
437 views

I tried the sample on http://docs.telerik.com/kendo-ui/third-party/using-kendo-with-requirejs

But it is loading kendo.all which defeats the purpose of just loading individual scripts

Stefan
Telerik team
 answered on 09 Feb 2017
1 answer
303 views

Here's the situation I am currently facing.  I am working with a cloud web application that allows me to provide a javascript file that, using jQuery, allows me to do customize the UI.  However, the application does not allow me to directly add any javascript / css to the head of each page.  What I am trying to do is use jQuery to add the Kendo UI library and css, so that I can then use Kendo to do some custom UI in the web application.

So in my javascript file, I have the following lines at the very top, so that Kendo is loaded as soon as possible:

$('head').append($('<link rel="stylesheet" type="text/css" />').attr('href', 'https://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common.min.css'));
$('head').append($('<link rel="stylesheet" type="text/css" />').attr('href', 'https://kendo.cdn.telerik.com/2017.1.118/styles/kendo.default.min.css'));
$.getScript('https://kendo.cdn.telerik.com/2017.1.118/js/kendo.all.min.js');

If I look at the sources for the page, after the script runs, the Kendo UI components do appear.  However, when I then try to use a component, for instance the Kendo Menu (by calling $('#menu').kendoMenu();), I get "Uncaught TypeError: $(..).kendoMenu is not a function".  Any ideas on what I'm missing, or how I can fix this problem?

Thanks,

Mike

Veselin Tsvetanov
Telerik team
 answered on 09 Feb 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?