Telerik Forums
Kendo UI for jQuery Forum
4 answers
211 views

Hi, we're using the Bootstrap theme throughout our site and I've noticed that the KendoCalendar doesn't seem to have consistent bootstrap styling?

(See attached image)

I would expect it to have Border Radius applied and also some drop shadow?

Am I missing something or is this the case for everyone?

Alanm
Top achievements
Rank 2
 answered on 20 Feb 2017
1 answer
70 views
We are currently evaluating Kendo UI. We understand how editing works, but one thing that was not clear from the documentation is whether it is possible to restrict what columns can be edited, per row, based on the row's data (for example, have an { edit: true } field in the row data that would control whether the row is editable. How would one build such a configuration? We are using the Angular version.
Viktor Tachev
Telerik team
 answered on 20 Feb 2017
3 answers
293 views

I am using Kendo angular maps with geojson layer for drawing maps in a tab. The map elements are visible in the developer html elements but are not rendered in the tab. The issue might be because of the svg viewbox having height 0 at the time of drawing. 

Is there any way to handle the issue.

 

Thanks!

Alex Hajigeorgieva
Telerik team
 answered on 20 Feb 2017
1 answer
66 views

Hi

 

We are using kendo ui grid.

We have regular grid and sub grid, with collapse / expand icons, so when expanding we are viewing the detail grid

Similar to "http://demos.telerik.com/kendo-ui/grid/detailtemplate", but using different style.

Since upgrading to chrome 56, the collapse / expand icons disappeared so we can't use this ability.

Any suggestions?

 

Viktor Tachev
Telerik team
 answered on 20 Feb 2017
1 answer
202 views

Hi,

I've been trying to get a selected dropdown option to appear in a Word Document on export.
The current default behavior is that all option tags appear in the exported document with no indication of which was selected. (This makes sense that this behavior would occur since the export function is simply exporting all the html as plain text).

So far, these are the approaches I've tried (none of which work):
-Capture the export event before it is sent to the controller via the javascript execute event (thus being able to strip out any unwanted text). The issue is the execute event and exportas event are asynchronous, so I can't modify the file before the export event call is executed.

-Modify the text on the controller side before it is converted to a Word document and downloaded (the text is sent through without special characters, which makes it nearly impossible to parse)

-Attempt to replace the dropdown with a kendo autocomplete widget (this would also be an acceptable solution). The widget does not render properly inside the document. All of the datasource options are there and even filters corretly, but it does not style correctly or open.

 

Has anyone else been able to find a solution to this problem or have another approach I could use?

-Noel

 

Ianko
Telerik team
 answered on 20 Feb 2017
1 answer
723 views

Hi all,

I have an issue with AutoComplete widget when I try to style it as "INPUT WITH ICON ON THE LEFT" (you can find an example here http://demos.telerik.com/kendo-ui/styling/index )

Clear value cross is on the left instead to be on the right!

You can use code below to reproduce the issue.

There's anything I can do to resolve this issue?

Many thanks,

Emanuele

<div class="demo-section k-content">               
  <span class="k-textbox k-space-left" style="width: 100%;" >
    <a href="#" class="k-font-icon k-icon k-i-marker-pin"> </a>
    <input id="countries" style="width: 100%;" />
  </span>               
</div>
 
<script>
    $(document).ready(function () {
        var data = [ "Italy", "Vatican City" ];
 
        $("#countries").kendoAutoComplete({
            dataSource: data,
            filter: "startswith",
            placeholder: "Select country...",
            separator: ", "
        });
    });
</script>
Joana
Telerik team
 answered on 20 Feb 2017
2 answers
62 views

I am using Kendo UI v2015.1.318, specifically the kendo.web.js.

A requirement I have is to support IE8. While my code works  on Chrome, Firefox, IE9-11, it breaks on IE8 during aggregation in a grid.

This is the datasource for the parent grid:

 

var parentSource = new kendo.data.DataSource({
    transport: {
        read: function (e) {
            readData(e, true);
        }
    },
    schema: {
        model: {
            id: "ID",
            fields: {
                Title: { type: "string" },
                Budget: { type: "number" },
                Planned: { type: "number" },
                Approved: { type: "number" }
            }
        }
    },
    aggregate: [
        { field: "Approved", aggregate: "sum" },
        { field: "Planned", aggregate: "sum" },
        { field: "Budget", aggregate: "sum" },
    ]
});

 

This is the shortened grid definition:

 

$(function () {
    $.when(
    ).then(function (data) {
        /**do some more stuff*/
    }).then(function (data) {
        $("#CostGrid")
        .kendoGrid({
            dataSource: parentSource,
            dataBound: gridDataBound,
            detailInit: loadChildGrid,
            detailExpand: expandParentRow,
            detailCollapse: collapseParentRow,
            sortable: true,
            filterable: true,
            columns: [
                { field: "Title", title: "Cost Type" },
                //{ field: "ConvRate", title: "Conv Rate" },
                { field: "Planned", title: "Planned (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" },
                { field: "Budget", title: "Budget (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" },
                { field: "Approved", title: "VOWD (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" }
            ],
            filter: { field: "Budget", operator: "gt", value: 0 }
        });
    });
});

 

 

The point where it breaks is 

 

function buildEmptyAggregatesObject(aggregates) {
        var idx,
            length,
            aggregate = {},
            fieldsMap = {};
 
        if (!isEmptyObject(aggregates)) {
            if (!isArray(aggregates)){
                aggregates = [aggregates];
            }
 
            for (idx = 0, length = aggregates.length; idx < length; idx++) {
                aggregate[aggregates[idx].aggregate] = 0;
                fieldsMap[aggregates[idx].field] = aggregate;
            }
        }
 
        return fieldsMap;
}

 

 

On all browsers, except IE8 the aggregates object is an array of objects with length 3, which is correct, since I have defined 3 columns to sum up. On IE8 the length is 4, and the for-loop breaks, because aggregates[3] is undefined.

 

What causes this behaviour and how can I fix this?

Stefan
Telerik team
 answered on 20 Feb 2017
2 answers
114 views

Hello,

    Currently, we're having the performance issue, because of using the large count of GeoJson data (for about 33k poligons). It creates a lot of shapes and then, the performance decreases to the unused level. The possible solution could be loading shapes only for the visible area, but It isn't desired behavior. Any ideas, how can we resolve this issue (may be, the map has the light version of rendering like chart "renderAs")? 

Elvis
Top achievements
Rank 1
 answered on 19 Feb 2017
4 answers
144 views

Hello guys, 

    We found the issue, related to MVVM usage of DropDownList widget. The popup option doesn't seem to work. Moreover, the kendo initializer doesn't see at all for this property. Here is the dojo link: http://dojo.telerik.com/OyozO/2 

Elvis
Top achievements
Rank 1
 answered on 19 Feb 2017
16 answers
1.7K+ views
Menu open beneath the window dojo.
I don't think this is wanted behaviour.
Dimo
Telerik team
 answered on 17 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?