Telerik Forums
Kendo UI for Angular Forum
0 answers
952 views

I am creating unit tests using jest and I can't run the test because of Angular not like "on" inside the [onLabel] attribute in kendo-switch.  Is there a work around for this?  

 

Template parse errors:
    Binding to event property 'onLabel' is disallowed for security reasons, please use (Label)=...
    If 'onLabel' is a directive input, make sure the directive is imported by the current module. ("
              (valueChange)="switchPageSize($event)"
              [offLabel]="'All'"
              [ERROR ->][onLabel]="'All'">
            </kendo-switch>
          </ng-template>
    "): ng:///DynamicTestModule/HistoryComponent.html@199:10

wil
Top achievements
Rank 1
 asked on 11 Nov 2020
1 answer
1.2K+ views
Hello. Is it possible to use custom svg icon instead default icon <kendo-grid-column-chooser>? And also can i add some text label near icon?
 
Martin Bechev
Telerik team
 answered on 11 Nov 2020
3 answers
135 views
I want to concat two properties to be displayed in the text field.suppose I have first-name and lastname property present in my object and I want to display something like textField=firstName+'  '+ lastName.how do I achieve this with combobox textField.
Martin Bechev
Telerik team
 answered on 11 Nov 2020
4 answers
1.6K+ views

I don't see anything in the docs but it seems like a standard thing to have.

What I'm looking for - the user will perform an action on a node in my TreeView which will result in a call to a remote API that can (sometimes) take several seconds.  I'd like to disable the TreeView or set it to loading so that the user knows there is some activity and to also prevent interaction with the TreeView.

What's the Kendo way to do this?  I can overlay a "busy" div but I'd like it to be visually close to the Grid loading appearance.

Dimiter Topalov
Telerik team
 answered on 11 Nov 2020
1 answer
430 views

Good Day,
I am using Telerik controls in my project (abp.io with Angular UI v 3.2.1), I want to integrate grid control with server databinding (server side paging, sorting, searching etc). I tried to get data using swagger, but it isn't working.

Is there any working example for this?
Thanks.

Faris
Top achievements
Rank 1
 answered on 08 Nov 2020
1 answer
886 views
Hello! Is it possible to get the selected columns in the <kendo-grid-column-chooser> inside my ts file?
Can't find it in the documentation. https://www.telerik.com/kendo-angular-ui/components/grid/api/ColumnChooserComponent/
Martin Bechev
Telerik team
 answered on 06 Nov 2020
3 answers
103 views

 

 

When a user opens the calendar popup and a date hasn't been selected and then click the back button on the browser window, the calendar popup doesn't close and stuck on the top left corner without any opportunity to close.

Steps to reproduce:

1. click on 'go to calendar' link.

2. open calendar popup using focus on date input.

3. click back button on the browser window (main window, not a stackblitz frame)

Result in attaches.

https://stackblitz.com/edit/angular-33rslp

Martin Bechev
Telerik team
 answered on 06 Nov 2020
1 answer
627 views
I am having a rounding issue with kendo numeric textbox as negative values are not getting rounded off properly. For example, -1.2355 gets displayed as -1.235 instead of -1.236

The configured settings for the said control is as follows:
ReturnValueInputOptions={
max:999999,
min:-999999,
format: 'n3',
decimals: 9
};

If we enter 1.2355 in the numeric textbox, it gets displayed as 1.236, which is fine. 
If we type negative value -1.2355 it gets displayed as -1.235. Is there a way to get this value rounded off and displayed as -1.236
Svet
Telerik team
 answered on 05 Nov 2020
0 answers
120 views
I have a grid of eight columns. In the first column there is a date, in the second one there is some text and in the others there is individual text and numbers. The data is loaded in chunks (about 500 records each) using "virtual scroll". The problem is that loading data into the grid increases the RAM consumption enormously. After loading more than 2000 records, the application becomes unusable (everything works with a delay). The Chrome task manager shows almost 1,5 GB used memory but the real data size is about 0,8 MB. I gave up with a more extensive grid (details, filters) but the problem still occurs.

I am asking for help, thank you
Piotr
Top achievements
Rank 1
 asked on 03 Nov 2020
1 answer
683 views

I've been struggling with an issue in our app where the grid is jumping all over the place during virtual scrolling. Then I noticed that the Kendo UI example does the same thing. I took this video from the StackBlitz in the "virtual scrolling with remote example" here. It's difficult to tell when watching in real time, because it happens so quickly, but while the loading indicator is up, the page jumps some 80 rows and then jumps back. This is exactly what we are seeing in our app, but since the load call is slower, about 1s, it's ends up looking really terrible.

I've attached some stills from the video that show the progression; as I scroll down, row 10346 is right at the bottom of the view. The call to pageChange comes in and suddenly row 10259 is at the bottom. A moment later the load finishes and 10351 is at the bottom, about what we expect, since we're scrolling down.

Thanks,

Philip

Svet
Telerik team
 answered on 03 Nov 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?