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....
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?
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.
Hello,
I would like to import PagerTemplateDirective, PDFService, SuspendService, 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
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
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
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?