Telerik Forums
Kendo UI for jQuery Forum
13 answers
1.4K+ views
We have an Aggregrate Grid that is grouping on two fields. The Grid handles this great, but a display problem is causing some user confusion.

See the attached screenshot. We are grouping on "Year" and "Make". We wanted to show "Total:" on the group footer row so users know what the row is for. So in the "Vehicle" column, we set the groupFooterTemplate to "Total:". You can see it appearing in the screenshot just fine.

So now for the Make groups and the Year groups, there appears a "Total:" in the aggregate footer row. But as you can see in the screenshot, the last Make group footer row (circled in red) sits right on top of the Year group footer row (circled in blue), and they both show "Total:" on that row, but it looks confusing. Is there any possible way to display "Make Total:" and "Year Total:" on those rows? Or even better would be "Mazda Total:" and "2015 Total:". In other words, instead of just specifying this column:

{ field: "Vehicle", title: "Vehicle", footerTemplate: "Grand Totals:", groupFooterTemplate: "Total:" }

Is there a way to use the group name in the groupFooterTemplate?

{ field: "Vehicle", title: "Vehicle", footerTemplate: "Grand Totals:", groupFooterTemplate: this.groupName + " Total:" }
Eyup
Telerik team
 answered on 07 Oct 2020
5 answers
239 views

W

We are using drawDOM and exportPDF to generate pdf file for our ASP.net MVC page. However the Ordered list (OL tag) are not rendered correctly on the pdf, the number seems to skip (example 1,3,5 ... instead of 1,2,3,4,5) and also we noted that the alphabet/roman numbering are also not supported. This only happens when we are using Internet Explorer ver 11 and Edge ver 44.18362.449.0. Are there any work arounds or fixes for this issue? Your help is greatly appreciated.

 

kendo.drawing.drawDOM($(elementID))
            .then(function (group) {
                return kendo.drawing.exportPDF(group);
            })

 

Eyup
Telerik team
 answered on 07 Oct 2020
1 answer
112 views

Hi, we found a performance issue that occurs only in the "agenda" view, specially when events have several days of duration.

Look at this dojo.

https://dojo.telerik.com/@foxontherock/IZafonEW

In the "week" view, navigation from week to week is very fast.

In agenda view, it's very slow.

The issue is in that function: 

kendo.ui.AgendaView.prototype._tasks

On the 2nd loop, there's that call
task = event.clone();
and this one is repeated for each day of the event, even if the day to analyse is out of the agenda current period.

I think you can solve it by only looping the "visible" days of the current view.

In our case, events have several other fields not related to the agenda.  We are able to increase performance by removing them and only keep required ones, it's better, but still slow.

All others views performs very well with huge dataset / events on multiple days.

Ivan Danchev
Telerik team
 answered on 06 Oct 2020
4 answers
686 views

Hi, we have some multiselect with tons of data (about 5000+).

 

That makes the "dom" very charged and the ui slow.

We found a part of the solution, in that dojo:

https://dojo.telerik.com/@foxontherock/oDerIDAg/3

DOM is very light as we only display first 50 items, and if the user "search" for the items, it finds it on any page. The value is correctly set.

But, when I load the item with values, they are not set if they are not on page 1.  

But, the solution is near, as they are correctly set when we select it from a search...

Do you need to fix something, or is there an easy solution I can do to make the items correctly set initially?

Thank you.

Petar
Telerik team
 answered on 06 Oct 2020
3 answers
263 views

I have a diagram which allows shapes to be dragged around, but when the user is zoomed out and hovers over the shape the connectoes appear and block the shape from being dragged. I actually do not need the connectors to be visible at all; so the best option is to hide them.

 

My code uses the following; as I also use drag and drop from a list box to add shapes to the diagram:

var shape = new Shape({ id: values.d.balls[i].id, x: values.d.balls[i].x, y: values.d.balls[i].y, type: "circle", content: { text: values.d.balls[i].name }, fill: { color: values.d.balls[i].colour } });
diagram.addShape(shape);

 

And when I use the shaopeDefault to try and alter the connectors the above method does not seem to use the shapeDefault at all; as I thought I may be able supply a zero length connectors or limit it to 1 connector. But if the shapeDefault option does not work I need another solution.

Tsvetomir
Telerik team
 answered on 06 Oct 2020
5 answers
297 views

Hello!

We need a ListView that has both the grouping (type = group) functionality of the MobileListView, and the ability to use key controls to navigate and select through the list like the normal ListView. Is there any way to accomplish this with either MobileListView or ListView?

Thanks!

Alex Hajigeorgieva
Telerik team
 answered on 05 Oct 2020
2 answers
207 views
Are there any options to allow the user to tab into the controls inside the bottom pager section? I realize there is the page up/down keyboard support, but for ADA/Section 508 compliance, we need to be able to allow the user to tab into the actual paging controls themselves.

Thanks.
Alex Hajigeorgieva
Telerik team
 answered on 05 Oct 2020
2 answers
134 views
Please see this sample code I have, I am trying to reload data from a remote server into the spreadsheet with every click of the button.

The issue is after clicking the search button a second  time to fetch new data, the spreadsheet is appended with a new one.

What is the proper way to reload data into the spreadsheet?

Link to sample code
https://dojo.telerik.com/ewigOKam
Pistle
Top achievements
Rank 1
Veteran
 answered on 05 Oct 2020
6 answers
574 views
This page suggests that kendo themes are now available as SASS, but when I download the source for 2017.3.1026, I only see LESS files (and the default-v2.less seems to not compile, but that may be user error). 

Whither the SCSS files for these themes?
Pistle
Top achievements
Rank 1
Veteran
 answered on 05 Oct 2020
1 answer
93 views

Hi everyone, 

I'm newbie, I get a stuck when view ItemName in Grid

I have Datasource about User, Location, DataCode
dataUser = [

{

"CompCode" : "abc",

"LtnList": "%, 001, 002",

"DataCode": 5

},

{
"CompCode" : "abc",
"LtnList": "001, 002",
"DataCode": 7
},

]

 

Datasource Location:
DataLctn = [

{

"ITEMCODE" : "%",
"ITEMNAME" : "All"

},

{
"ITEMCODE" : "001",
"ITEMNAME" : "Paris"
},{
"ITEMCODE" : "002",
"ITEMNAME" : "NewYork"
}

]

 

Datasource DataCode

DataCode = [

{

"ITEMCODE" : 1,

"ITEMNAME" : "Add"

},

{
"ITEMCODE" : 2,
"ITEMNAME" : "Update"
},

{
"ITEMCODE" : 3,
"ITEMNAME" : "Delete"
}

]

 

How to map ItemName from DataCode and DataLctn sothat I show their ItemNames in Grid of DataUser

Neli
Telerik team
 answered on 05 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?