Telerik Forums
Kendo UI for Angular Forum
2 answers
1.2K+ views

I am using the kendo angular menu using templates and want to conditionally show or hide menu items but am not able to get it to call my function passing in the item. Does anyone know how to accomplish this?

Thanks in advance....

Dimiter Topalov
Telerik team
 answered on 18 Feb 2019
1 answer
135 views
I noticed a strange behavior in the kendo-grid-pdf component in Kendo UI for Angular. I would like to be able to customize the filename through the "fileName" property. But I noticed that this component gets access to the function that returns the name all the time and this consumes many features of the browser. This is normal? I am sending prints to show this behavior.
Dimiter Topalov
Telerik team
 answered on 15 Feb 2019
3 answers
236 views

One of our apps has a requirement to only allow one event per time slot.  Currently there is extra white space next to each even to allow users to click on to add extra events.  How can I remove this white space?  I have tried setting the event width to 100% but this breaks the weekly view.

 

Handling the click event to deny the user action is not an issue, but the UI display is confusing to users and doesn't make sense for our requirements.  Any work around for this?

 

 

Svet
Telerik team
 answered on 15 Feb 2019
1 answer
142 views
Does anyone know if there is a drag and drop feature for each series item in the series chart. If not does anybody have an idea as to how I can add this feature on my own?
Dimiter Topalov
Telerik team
 answered on 14 Feb 2019
1 answer
164 views

I am using kendo pie charts to display a breakdown of data shown in a grid. When a user clicks a pie slice, it applies a filter to the grid. I would also like all the other pie slices to become grayed out while this filter is active.

 

I have tried to programatically change the color of the slices by updating the color in the data object the chart is bound to, but the changes do not show in the UI. I've got a feeling I'm missing something simple, but I can't figure it out. Is anyone able to offer advice on this? Thanks.

Dimiter Topalov
Telerik team
 answered on 13 Feb 2019
2 answers
160 views

Hello,

I would like to import PagerTemplateDirectivePDFServiceSuspendService, and ExcelService types which are not exposed in '@progress/kendo-angular-grid' directly. At the moment I'm doing this by importing from '@progress/kendo-angular-grid/dist/es/......' which is not recommended.

I'll try explaining why I need these types in the following lines briefly.

 

1. PagerTemplateDirective:

I want to change the pager template of my grid dynamically in code under certain circumstances. So, I need to have an instance of PagerTemplateDirective in my code to assign to 'this.grid.pagerTemplate'.

 

2. PDFService and SuspendService:

I want to extend PDFComponent class and use this extended (customised) component for PDF export in my grids. However, the constructor requires PDFService and SuspendService; see the following code:

export class KendoGridTypicalPdfComponent extends PDFComponent implements OnInit {
 
  @ViewChild(PDFMarginComponent)
  public marginComponent: PDFMarginComponent;
 
  @ViewChild(PDFTemplateDirective)
  public pageTemplateDirective: PDFTemplateDirective;
  constructor(protected pdfService: PDFService,
    protected suspendService: SuspendService,
    protected ngZone: NgZone,
    element: ElementRef) {
 
    super(pdfService, suspendService, ngZone, element);
  }
 
  ngOnInit(): void {
    this.scale = 0.6;
    this.paperSize = 'A4';
    this.landscape = true;
  }
}

 

3. ExcelService:

The same story for Excel export as PDF export.

export class KendoGridTypicalExcelComponent extends ExcelComponent implements OnInit {
 
  constructor(protected excelService: ExcelService,
    protected localizationService: LocalizationService) {
 
    super(excelService, localizationService);
  }
}

 

Thanks,

Mojtaba

Mojtaba
Top achievements
Rank 1
 answered on 13 Feb 2019
1 answer
559 views

Hi,

I´m currently using ExportPDF to create a PDF with a TOC in it. The chapter and subchapters are created dynamically (for the TOC and in the text). I know how to add page numbers in the footer, but is there a way to add the right page number to each chapter in the table of content?

Thanks in advance

Dimiter Topalov
Telerik team
 answered on 13 Feb 2019
2 answers
219 views

We want to use the "Export to Excel" functionality. (We are using already a lot of the KendoUI controls)
But as I see its only possible to export the data and do some (colour) formating of the cloumns/ cells. But not any fancy excel features.

Is it possible to use an existing excel template and fill only one sheet with the data. And on the other, already exsiting, sheets we have some fancy diagrams with links to the sheet, which we want to fill with the "export".
Is this possible. And if yes how? Didn't find anything about this.

And is it maybe also possible to create an Google Spreadsheet instead of an Excel Sheet?

Thanks

Patrick
Top achievements
Rank 1
 answered on 12 Feb 2019
2 answers
144 views

When I try to set the slot duration to 15 the time slots are not correct.

I would expect: 7:00, 7:15, 730: etc..

I get 7:00, 7:14, 7:28 (multiples of 14)

https://stackblitz.com/edit/angular-rhk7uu

 

I am able to band-aid fix the issue by adding the slotDivisions="1" which seems to solve the time slots issue, but then I lose the divider line that separates the times.  If you add that attribute to the demo, you can see there is a separator between 7:00 and 7:15 but then all the other times have no separator between them.

 

Now for my needs, I only want 1 slot per time, so I want to use the slotDivisions="1" but when I lose the separator it makes the scheduler less readable.  Is this intentional or a bug?

 

Daniel
Telerik team
 answered on 11 Feb 2019
5 answers
116 views
There doesn't seem to be a way to remove the All Day time slot from Day/Week view?  In other versions of the scheduler module such as jQuery and Vue there is an option called allDaySlot.  I understand this is still Beta but is there an ETA on when this will be available?  Is there currently a workaround that can be used until this option is available?
James
Top achievements
Rank 1
 answered on 08 Feb 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?