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
>
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.
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.
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.
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.
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>
HI All
In Angular Grid : Can we have grid by default editable instead of clicking .
Request you to share the link
Regards
Praveen
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