<kendo-grid
[kendoGridBinding]="reports"
[pageable]="false"
[sortable]="true"
>
<kendo-grid-column field="quarter" title="Quarter">
</kendo-grid-column>
<kendo-grid-column field="wages" title="Total Wages" [width]="120" format="{0:c}">
</kendo-grid-column>
<kendo-grid-column field="taxable" title="Taxable Wages" [width]="120" format="{0:c}">
</kendo-grid-column>
<!-- Employer column doesn't sort -->
<kendo-grid-column field="employer" title="Employer" [width]="100">
<ng-template kendoGridCellTemplate let-dataItem>
{{ dataItem.entity?.name}}
</ng-template>
</kendo-grid-column>
</kendo-grid>
Hi There,
I'm currently trying to use the Kendo PDF Export Function using Kendo Drawing and have been struggling to split the page of dynamic widgets into 2 and it cuts off the bottom of the page and doesnt go onto a second page even when using force page break.
Is there any function to check if the page is overflowing? so I can adjust the table template with extra white space.
Or how can I amend this issue and make the page flow onto 2 pages even if the element ends up getting split in 2.
Attempt without page breaking:
const drawing = awaitdrawDOM(this.elm.nativeElement, {
paperSize: 'a4',
scale: 0.45,
});
const myData = await exportPDF(drawing);
saveAs(myData, `test.pdf`);
<div #elm >
...content...
</div>
In the image of the pdf, the bottom of the grid is cut off, then I did the same with text and the text template isnt even visible and doesnt flow onto the next page.
Attempt with Page breaking:
const drawing = awaitdrawDOM(this.elm.nativeElement, {
paperSize: 'a4',
scale: 0.45,
forcePageBreak: '.page-break',
});
const myData = await exportPDF(drawing);
saveAs(myData, `test.pdf`);
Child Component with page breaking:
<div class=".page-break"></div>
<div class="h-full flex flex-col">
...content...
</div>
Grid component with page breaking
<div class="h-full flex flex-col page-break">
<ngContainer... *gridTemplate></ng-container>
...content...
</div>
<ngTemplate #gridTemplate>
...Kendo Grid...
</ngTemplate>
I'm placing a component inside textbox and textarea suffixes:
<kendo-textarea #noteInput
[(ngModel)]="newNote"
[maxlength]="MAX_LENGTH_NOTE"
>
<kendo-textarea-suffix>
<ci-counter
[value]="noteInput.value"
[max]="noteInput.maxlength"
[displayAtThreshold]="100"
></ci-counter>
</kendo-textarea-suffix>
</kendo-textarea>
That works fine, but I'd like to remove them when the input isn't being edited. Is there any property or other way to know this through the template? Such as:
<kendo-textarea #noteInput
[(ngModel)]="newNote"
[maxlength]="MAX_LENGTH_NOTE"
>
<kendo-textarea-suffix>
<ci-counter *ngIf="noteInput.???"
[value]="noteInput.value"
[max]="noteInput.maxlength"
[displayAtThreshold]="100"
></ci-counter>
</kendo-textarea-suffix>
</kendo-textarea>
I am using DialogService in my project and add below line in root file of the application so other component don't need to add.
Now the problem is, if i opened the dialog from specific component then If I go back to previous screen then Dialog remain open.
What I found is, basically I put the div is in root file so the dialog will always reside it at root level.
right now I have a one solution is to remove that div from root file and keep it in all component file, where it is used.
If you have another solution then let me know because I don't want to put that div in all angular component.
Hey everyone,
Hope this message finds you well.
I'm creating a grid table with Add/Edit/Delete features. Currently running into a blocker when clicking on a checkbox during an Add procedure. This action completely resets the values from the dropdown menus I've previously selected from. Any ideas as to why this behavior might be occurring? Thanks!
TS:
------------------------------
HTML:
Hello!
Our customer complained that when trying to enter a decimal point in the numeric filter of the grid, it appears and then immediately disappears. This effect appeared after upgrading the kendo-angular-grid package from version 4.7.0 to version 11.2.0 (we also upgraded the Angular version from version 10 to 15). I noticed that the same effect is present on your site
https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu/
Notice the Order column in the 1st example there. Please open a filter for it and try to quickly (as fast as possible) enter a number and then a dot in the top input of the filter.
The same thing happens in the other examples on this page that have a numeric filter. Interestingly, there is no such effect in the lower inputs.
So my questions are:
1. is this a defect?
2. is it possible to fix this behaviour without changing the version of the kendo-angular-grid package? I mean, maybe there is a possibility to intercept an input event in the filter input in an Angular component code.
I have master detail grid and when I filter its filtering only master grid but not detail. How I can acheive?
If I filter on displaySystemName I want to filter by schoolname which is in childContracts array