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

I'm facing an issue trying to show a percentage in numeric textbox, when I set the value for something like '2.74' it shows me '3' and the decimals are ignored. I already tried some of the solutions that i found on google, like set the 'round' attribute to false or set the 'decimals' attribute to the desired value, but nothing seems to work. 

Am I doing something wrong? If so, can someone show me the error?

<kendo-numerictextbox
*ngIf="servicoExibido.servicoLightModel.valPercCustos === 'P';else currency"
[format]="'p2'"
[(ngModel)]="porcentagemCustoGerais"
[spinners]="false"
[readonly]="true"
[round]="false"
[decimals]="2"
>
</kendo-numerictextbox>

 

Hetali
Telerik team
 answered on 21 Sep 2020
2 answers
183 views

Hi,

I want to show aggregate footer in my grid. 

I have checked on https://www.telerik.com/kendo-angular-ui/components/grid/grouping/aggregates/ for the aggregate footer. However, I cannot apply it into my coding. As I am getting data from WebAPI and then bind into grid. So my columns are all dynamic. I cannot define the aggregates and state.group as per shown in the website.

public aggregates: any[] = [{ field: 'UnitPrice', aggregate: 'average' }, { field: 'Discontinued', aggregate: 'count' }];
 
    public state: State = {
        skip: 0,
        take: 5,
        group: [{ field: 'Discontinued', aggregates: this.aggregates }]
    };

 

Is there any workable sample similar to my case to refer? Thank you.

Ivan
Telerik team
 answered on 21 Sep 2020
2 answers
253 views
Is this really not available in a reactive form? If so, how do you get this error displayed in the UI?
Brian
Top achievements
Rank 1
 answered on 18 Sep 2020
2 answers
181 views

Hi, 

How can i specify the paper size in the kendo-pdf-export tag ?

Example:

<kendo-pdf-export #pdf paperSize='["210mm", "297mm"]'></kendo-pdf-export>

 

I try to do this and pdf.saveAs() return the error "Unknown paper size" (screenshot).

 

Regards,
Murilo Alves.

Murilo
Top achievements
Rank 1
Veteran
 answered on 18 Sep 2020
1 answer
76 views

For the Agenda view, when you use the resource grouping you have column order of [Resource, date, time, event].  So that is saying, here is a resource and here are the events dates/times for that resource. 

I am looking for a reverse type of grouping where the scenario is [Date, Resource, time, event].  So i want to say, for this date here are all my resources and their events for that date.  So on 9/1/6/2020 it might show 3 of my rooms and then the times and names for all those events.

Additionally is it possible to add custom columns? 

I have 2 different use cases that I am trying to satisfy and I am hoping this scheduler can do that so I don't have to build something custom.

1.  I want to look at a day and see a list of all my resources that have events going on that day.  Reverse resource grouping would satisfy that.  I know the Timeline view does something similar but I don't want the horizontal scrolling.  Vertical scrolling is preferable and more mobile friendly.

2.  I want a daily planner where I can view all my events for a day in chronological order.  Adding a custom column can assist is telling me the resource a particular event belongs too without cluttering up the "Event" cell with resource information.

Martin Bechev
Telerik team
 answered on 18 Sep 2020
1 answer
69 views

Hello,

When i try to serialize a grid state object with aggregate operation using the `toDataSourceRequest ` or `toDataSourceRequestString` API's they simply get ignore/not mentioned in the output. ( i'm trying to achieve server side aggregation )

state object example : 

{
    skip : 0,
    take : 10,
    group : [
             {
                     aggregates: [ { field: 'myField', aggregate: 'count' } ],
                    field: 'myField'
              }

          ]
}

toDataSourceRequest output : {page: 1, pageSize: 10, group: "myField-asc"}

toDataSourceRequestString output : page=1&pageSize=10&group=myField-asc

 

Thanks in advance.

Svet
Telerik team
 answered on 18 Sep 2020
3 answers
618 views

Hi,

I use kendo ui angular pager in my codes. However, [info] and [type] are not working. Please see attached image. 

I want to show xx of total items, and also each page I want to see numeric numbers.

<kendo-datapager
[pageSize]="pageSize"
[skip]="skip"
[total] = "total"
[type] ="numeric"
[info] ="true"
(pageChange)="onPageChange($event)">
</kendo-datapager>

Martin Bechev
Telerik team
 answered on 18 Sep 2020
1 answer
361 views

HI All

 

 In Angular Grid : Can we have grid by default editable instead of clicking .

 

Request you to share the link

 

Regards

Praveen

Hetali
Telerik team
 answered on 18 Sep 2020
1 answer
2.3K+ views

Kendo Angular Grid : Blank space in the end when you resize(reduce) any column.

If column is getting resized then content from the column should get fit with remaining space, but it is showing white space.

You can see the whole data in tool-tip but not in actual column.(PFA for better understanding)

Requesting to provide any solution where huge content will get good fit after resizing the column as well 

Martin Bechev
Telerik team
 answered on 17 Sep 2020
1 answer
287 views
How do I replace the valuenormalizer arrow function with a regular function.whenever I try to change that getting an error.Cannot read property 'lift' of undefined.
Svet
Telerik team
 answered on 17 Sep 2020
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?