Telerik Forums
Kendo UI for Angular Forum
1 answer
186 views

Hi,

I have a service with a http request to an api that returns a Observable<Pendentes[]>.

I need to call the service in my component, but I can't get the pagination working.

I attached some prints of my code.

 

Best regards,
Pedro Marquinhos

Slavena
Telerik team
 answered on 14 Jun 2023
1 answer
388 views

Hello,

I'm using kendo-upload for uploading files and displaying progress by subscribing to the uploadProgress event. 

When [chunkable]="false" it seems that the event is fired every second or less, allowing the developer to show the progress smoothly.

The above is not true when [chunkable] is set to some value, the event is fired only when every next chunk is uploaded. Consider the following settings: [chunkable] = "{ size: 1048576} and file size to upload is 10Mb, in this case, only 10 events are going to be fired with  event.percentComplete = 10, 20, 30 .... 100. This prevents me from building a progress indicator that works smoothly enough. Any ideas about getting uploadProgress fired during the chunk upload more often than once at the end?

Slavena
Telerik team
 answered on 12 Jun 2023
1 answer
303 views

Hi

I have simple page

<kendo-pdf-export #svgPrint>
<svg width="600" height="450" style="background-color: white">>
<defs>
<pattern id="colorBack" x="0" y="0" width="600" height="400" viewBox="0 0 600 400"
preserveAspectRatio="xMidYMax slice" patternUnits="userSpaceOnUse">
<image xlink:href="assets/anthrazit.png"></image>
</pattern>
</defs>
<rect class="profile" x="0" y="0" width="600" height="400" fill="url(#colorBack)" stroke="#555E5E"></rect>
<text fill="gray" class="dimensions-text" x="0" y="420" text-anchor="start"> 5890 </text>
</svg>
</kendo-pdf-export>

 

I see in a browser this:

But in exported PNG file, there is no background and there is default font instead of specified in css:

 

i created also a div with paragraph and it works fine.

<kendo-pdf-export #divPrint style="background-color: white; width: 600px; height: 450px;">
<div style="width: 600px; height: 400px; background-image: url('assets/anthrazit.png');">
&nbsp;
</div>
<p class="dimensions-text"> 5890 </p>
</kendo-pdf-export>

 

I attached example app with issue reproduction.

--

Best regards

Kamil Paszkiewicz

Yanmario
Telerik team
 updated answer on 12 Jun 2023
0 answers
102 views

Hi! Couldn't find any examples of setting custom symbol (BubbleLayerSymbol) of the BubbleLayerComponent.
When I'm trying to set my symbol (attached screenshot) I get this error in the console + typing issues:

TypeError: _node_map__WEBPACK_IMPORTED_MODULE_2__.default[srcElement.nodeType] is not a constructor
    at RootNode.load (VM74284 vendors...)
    at Surface.draw (VM74284 vendors...)
    at BubbleLayer._drawSymbol

Please provide more info/examples. Thanx in advance!

Mykhailo
Top achievements
Rank 1
 asked on 09 Jun 2023
1 answer
246 views
How to achieve Master-Detail grid with 2 details grid for one master in (Kendo-Angular)?
Hetali
Telerik team
 answered on 08 Jun 2023
2 answers
461 views
I just updated to 13.0.2 and get the following error in ng serve:

Error: node_modules/@progress/kendo-angular-charts/chart.component.d.ts:56:33 - error TS2307: Cannot find module '@angular/core/core' or its corresponding type declarations.

56 import { EmbeddedViewRef } from '@angular/core/core';
                                   ~~~~~~~~~~~~~~~~~~~~


These are from the last section of imports in chart.component.d.ts:

import { ZoomStartEvent } from './events/zoom-start-event';
import { SeriesComponent } from './chart/series.component';
import { EmbeddedViewRef } from '@angular/core/core';
import { DrilldownEvent } from './events/drilldown-event';
import * as i0 from "@angular/core";
Yanmario
Telerik team
 answered on 08 Jun 2023
2 answers
1.8K+ views
Would love to have even a pre-release version of Kendo that supports Angular 16 so that I can see how A16 works in our project. I understand it is very recent, but thought I would lodge the request anyway.
Edi Wang
Top achievements
Rank 1
Iron
 answered on 08 Jun 2023
0 answers
143 views

Hi,

scheduler event replan causes scroll to top or bottom. When I drag and drop event between columns sometimes myview scrolls to top or to bottom. I haven't found any bug fixes in changelog or any forum posts which describes this issue.

It happens inside:

<kendo-scheduler-timeline-week-view></kendo-scheduler-timeline-week-view>

 

Is that bug sounds familiar? Can it be fixed easliy?

Packages inside this project:

Angular 13.3

rxjs 7.5.5

typescript 4.6.3

Scheduler 4.3

 

 

Dawid
Top achievements
Rank 1
 asked on 07 Jun 2023
0 answers
344 views

Hi,

https://www.telerik.com/kendo-angular-ui/components/dialogs/window/service/#toc-window-close-prevention

I want to open another component with the window service as described in the example above and want to trigger preventClose from inside the component by clicking on another button,

Like this:

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

Inside the form.component in onConfirmAction window.close() is triggered but not preventClose. Is there any way to achieve this?

 

Goal would be to add an additional "cancel" button inside those dialogs, so preventClose should be triggered here just like the normal "x" of the dialog.

Vanessa
Top achievements
Rank 1
 asked on 07 Jun 2023
0 answers
216 views

I have a custom control that is wrapping the Kendo MaskedTextBox. The template looks like:

<kendo-maskedtextbox
    [id]="id + '_kendo-maskedtextbox'"
    [ngClass]="{ 'error-style': this.isError }"
    class="default-style"
    [(ngModel)]="value"
    [mask]="textboxMask"
    [rules]="rules"
    [maskValidation]="maskValidation"
    [rules]="rules"
    [fillMode]="fillMode"
    [rounded]="rounded"
    [size]="size"
    [disabled]="disabled"
    [style.width.px]="width"
    [includeLiterals]="includeLiterals? true : false"
    (blur)="onBlur()"
    (focus)="onFocus()"
    (valueChange)="onValueChange($event)">
</kendo-maskedtextbox>

What I have found when I have the includeLiterals input binding my value stored in value gets cleared out, but if I do not have this input present on the masked textbox, the value is left alone and works as expected. This seems like there is a bug in the code for the control, that is causing this. My only work around is to not have that input binding present in my codes template so the rest of my controls work as expected, but I need to have the includeLiterals so that I can have the literals part of the value when it is updated by the user.

To reproduce, create an component that wraps the masked textbox input, ensure that component implements the ControlValueAccessor interface and has a provided defined for it. Then on another page use that component and pass in the value you want for it via ngModel.

I have tried this with out the control being wrapped in the other control and it works without any issue, but I need it wrapped to provide a uniform experience for the rest of my application and reduce any duplicated code.

Don
Top achievements
Rank 1
 asked on 06 Jun 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?