Telerik Forums
Kendo UI for jQuery Forum
1 answer
82 views

Hello there.  

After figuring out that client-side events (e.g., dataBound) do not work with server binding, I'm left wondering what is the best way to apply row styles based on row values with server binding.

For example, if an integer value in a row (salesAmount) is below a certain threshold, how would I apply a particular style to that entire row?

(ref: http://www.telerik.com/forums/databound-event-doesn-t-fire-if-server-binding-is-used)

Stefan
Telerik team
 answered on 17 Feb 2017
1 answer
376 views

Hi, 

 

We are using Kendo UI Scheduler. I am looking for a way to disable the navigation buttons incase user has reached the last or first date of scheduler. 

 

Regards, 

 

Nitin Jain

Nencho
Telerik team
 answered on 17 Feb 2017
3 answers
197 views

Hello All, 

I have created a Kendo Graph with negative values. In this graph the x-axis is over lapping when the values are bug in number. 

http://dojo.telerik.com/ukErA

How can i avoid this type of overlapping. Is there a way to set the padding dynamically based on the value coming in?

Please provide inputs

Thanks, 

Aditya

Iliana Dyankova
Telerik team
 answered on 17 Feb 2017
6 answers
1.6K+ views
I want to mark the unread messages as bold inside my inbox,(I'm not using SMTP, They are just database records)
I have another field as "read" in the table to make it as read and unread,

How should one can make particular row bold depend on other field.

Image:
Refer Image

My code:
$(document).ready(function () {
    var keyvalue = window.document.URL.toString().split('?')[1];
    var dataSource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=select",
                dataType: "json"
            },
            destroy: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=destroy",
                dataType: "json",
                complete: function (jqXHR, textStatus) {
                    ds.read();
                }
            },
            update: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=update",
                dataType: "json"
            },
 
            parameterMap: function (options, operation) {
                if (operation !== "read" && options.models) {
                    return { models: kendo.stringify(options.models) };
                }
 
            }
        },
        batch: true,
        pageSize: 10,
        schema: {
            model: {
                id: "id",
                fields: {
                    from: { type: "string" },
                    subject: { type: "string" },
                    body: { type: "string" },
                    time: { type: "date" }
                }
            }
        }
 
    });
 
    $("#grid").kendoGrid({
        dataSource: dataSource,
        sortable: true,
        pageable: true,
        editable: true,
        toolbar: ["save"],
        columns: [
            { field: "from", title: "From", width: 150 },
            { field: "subject", title: "Subject", width: 150 },
            { field: "body", title: "Message", width: 250 },
            { field: "time", title: "Date", width: 80, template: '#= kendo.toString(time,"MM/dd/yyyy") #' },
            { command: "destroy", title: " ", width: 110}]
    });
});
Konstantin
Top achievements
Rank 1
 answered on 17 Feb 2017
1 answer
84 views

When the screen size is below 1024px, the view selector collapses to a dropdown. But after I open the dropdown, I can't close it without clicking one of the items.

The dropdown should close when I click outside the dropdown, just like in Kendo Dropdownlist. 

http://prntscr.com/e8ysrm

Joana
Telerik team
 answered on 17 Feb 2017
3 answers
111 views
I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.
So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.
What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.
I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.
Thank you in advance for any guidance here!

I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.

So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.

What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.

I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.

Thank you in advance for any guidance here!

I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.

So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.

What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.

I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.

Thank you in advance for any guidance here!

Bozhidar
Telerik team
 answered on 17 Feb 2017
6 answers
974 views
Hi,

We have requirement where we have to display 250 columns and 1000 records in the grid.

Does kendo grid supports this type of scenario? Does performance affect with large number of columns?

Thanks,
Suril
Kiril Nikolov
Telerik team
 answered on 17 Feb 2017
3 answers
252 views

I recently upgraded my Kendo libraries to version 2017.1.213 from version 2016.2.812 and my PanelBar will no longer render. I am currently using the datasource formatting as defined here: http://www.telerik.com/forums/kendo-menu-item-click-open-new-window#FWU47PCqfEa5o7OGoNzO8w . I am using this format because I need the target and id attributes on the links which are unavailable with the json format.

Is there a more supported way to do this?

Plamen
Telerik team
 answered on 17 Feb 2017
2 answers
654 views

Hello, I'm trying to use Kendo UI Map to display a radius with a circle. In other words, drop a pin/marker on a map, and show a circle marking a 100 mile/km radius around it. All I am able to find is documentation on adding a polygon shape to a shape layer, but nothing on circles. I tried using a bubble layer, but the bubble stays the same size when you zoom in, so I can't use that. Any thoughts on this would be very helpful.

 

Thanks! -Jason

Jason
Top achievements
Rank 1
 answered on 16 Feb 2017
6 answers
241 views

I am trying to draw line (step) on date axis with small spikes of data but seems like it auto compress.

 

Code

<body>
<div id="example">
    <div class="demo-section k-content wide">
         <div id="chart"></div>
    </div>
</div>
 
<script>
   var stats = [{ value: 0, date: new Date("2012/01/04") },
                { value: 30, date: new Date("2012/01/05 11:22AM") },
                { value: 0, date: new Date("2012/01/05 11:22:30AM") },
                { value: 0, date: new Date("2012/01/10") }];
 
 function createChart() {<br>                    $("#chart").kendoChart({<br>                        title: {<br>                            text: "Units sold"<br>                        },<br>                        dataSource: {<br>                            data: stats<br>                        },<br>                        series: [{<br>                            type: "line",<br>                          style: "step",<br>                            field: "value",<br>                            categoryField: "date"<br>                        }],<br>                        categoryAxis: {<br>                            baseUnit: "weeks"<br>                        }<br>                    });<br>                }<br>                $(document).ready(createChart);<br>                $("#example").bind("kendo:skinChange", createChart);<br>            </script><br>        </div><br></body>
Daniel
Telerik team
 answered on 16 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?