Telerik Forums
Kendo UI for jQuery Forum
3 answers
156 views

Hi All,

             I just statrt using Kendo UI. We going to start new project. Before that i want to know one thing like is it possible minimize grid data in one container

For example. I had  two menu . when i click first menu it will populate with data. When i click second menu , First grid will minimize in container not closing and second menu grid data will populate. When i click minimized  grid it will populate then second menu will minimize. Is there any functionality available kendo grid 

Eyup
Telerik team
 answered on 31 Jul 2019
3 answers
2.2K+ views

After i updated my kendo-ui library from version "2019.2.517" to "2019.2.605" i am getting the issue "Cannot read property 'getTimezoneOffset' of null". This is only happening in timeline views, other views are working fine. 

here is how i have configured the model section in datasource 

 

let me: CalendarComponent = this;

model: {
id: "eventId",
fields: {
eventId: { from: "eventId", type: "string" },
start: { type: "Date", from: me.eventMapping.start + "" },
end: { type: "Date", from: me.eventMapping.end + (me.eventMapping.start !== me.eventMapping.end ? "" : "end") },
isAllDay: { type: "boolean", from: "allday" }
}
}

 

i have not done any other changes just updated the kendo-ui version. 

Nencho
Telerik team
 answered on 31 Jul 2019
4 answers
142 views

Hi, 

sorry if I am posting question that is maybe answered somewhere else, but I searched and didn't find anything.

I know it is possible to use WebSocket as dataSource on grid as shown on one of your examples, but wanted to check if it's possible to use web socket as DS on gantt and if yes, will it behave the same way as grid in terms of updates etc.

 

Thank you

Vedad
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 29 Jul 2019
5 answers
233 views

[Resolved]

The SSL certificate on the Kendo CDN service(kendo.cdn.telerik.com) has expired. We are currently working on that. Any further information on the development will be posted in this thread.

Temporary you can use this https://da7xgjtj801h2.cloudfront.net/ instead of https://kendo.cdn.telerik.com e.g:


** The issue is now fixed.
  Please, accept our apology for the inconvenience caused!

*** A status page, where you can subscribe for notifications in case of future incidents is now available.

Kaloyan
Telerik team
 answered on 29 Jul 2019
21 answers
228 views
It looks like the SSL cert expired for your CDN domain. My sites are now throwing security errors. Am I the only one experiencing this??!
Kaloyan
Telerik team
 answered on 29 Jul 2019
3 answers
1.0K+ views

(this question was originally asked on stackOverflow https://stackoverflow.com/questions/57198635)

I want to limit the number of labels in the categoryAxis of my kendo chart.

So far I've calculated an automatic step from the number of data points and the width of the chart and it's worked great. But I'm starting to receive some data that triggers Kendo's automatic date label format switch to minutes and now I have 60 times more labels than I should, which creates huge amounts of lag (and makes the chart unreadable).

I've looked into setting a maxDateGroup, but that actually reduces the number of categories, thus ignoring some of the data.
I found a way to get the number of labels on the forums :

 

```
// get reference to the chart widget

var chart = $("#chart").data("kendoChart");

// get the categories length

chart._plotArea.categoryAxis.children.length

```

But it requires to draw the chart first, then read the property, then adjust accordingly and redraw the chart. Which isn't exactly ideal.
So I'm wondering if there is a way to set a max number of labels, or maybe limit labels to 1 per category ? Or any other trick-shot really :)

Note : this automatic switch works great for data that actually is recorded every minutes, but the series that's causing me problems is recorded every 30 minutes. Maybe there is some workaround here but I can't recall where I saw how to fiddle with these properties.

G
Top achievements
Rank 1
 answered on 29 Jul 2019
2 answers
1.1K+ views

When we call Kendorangepicker, it enables 2 input fields - start and end dates. Is it possible to open kendorangepicker from single input field and once the ranges are selected, dates should return to the input field like 01-01-2019 - 20-09-2019. 

Thanks,

Saravana MS

Saravanamanikandan
Top achievements
Rank 1
 answered on 29 Jul 2019
11 answers
2.7K+ views
Hello,

I am trying to make a reusable error handling function like showed in the examples:

function OnError(e) {
            if (e.errors) {
                var message = "";
                // Create a message containing all errors.
                $.each(e.errors, function (key, value) {
                    if ('errors' in value) {
                        $.each(value.errors, function () {
                            message += this + "\n";
                        });
                    }
                });
                // Display the message
                viewModel.set("error", message);
                errorWnd.center().open();
 
                var grid = $("#Promotions").data("kendoGrid");
                grid.cancelChanges();
            }
        }
How can I reference the grid by name, so I can put this function inside my shared layout page and be able to cancel the changes of any grid ?
var grid = $("#Promotions").data("kendoGrid");//reference the grid's name here, instead of '#Promotions'

Javier
Top achievements
Rank 1
 answered on 26 Jul 2019
7 answers
689 views

Hi,

 

Here is the example of grid that I am trying - https://dojo.telerik.com/IsoDUruR/4. I want to remove the dirty flag once save button is clicked. However, it doesnt work. Any idea? 

 

Thanks!

Eyup
Telerik team
 answered on 25 Jul 2019
6 answers
1.7K+ views
Hi - I currently have an editable cell in my grid, and after the cell closes I want the text to change color. Is there a way to do this?
Nikolay
Telerik team
 answered on 25 Jul 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?