Hey,
I am using Kendo Angular numerictextbox.
Unlike the Vue and JQuery version, Angular version does not have "round" property.
How can I prevent rounding ? Could you please add this feature to new version ?
Best Wishes.
Hi
Could i have an kendo-dialog completly separate from caller button with specific typescript file and specific html file ?
Regards
Hi, All
I have one solution of angular project with Angular 7.2. It working fine with Nested Grid.
when upgrade solution to latest version as Angular 12.2.11 and Nested grid not able to view on pages.
I was only updated package.json that it.
Link for Reference : https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/
Can any one help for this
After hiding 'all day' from kendo angular scheduler using below code, we are facing scroll issue. In week view when we scroll, only the view from Sun to Sat scrolls leaving Time bar fixed. And hence there is a mismatch in alignment of and timings in UI.
Can you please help us in fixing this scroll issue hiding 'all day' feature.
Please find the attached image for reference.
import { Component } from '@angular/core';
import { groupBy, GroupResult } from '@progress/kendo-data-query';
import { ValueAxisLabels } from '@progress/kendo-angular-charts';
export type TrendItem = {
clientName: string;
periodName: string;
income: number;
};
@Component({
selector: 'my-app',
template: `
<kendo-chart>
<kendo-chart-category-axis>
<kendo-chart-category-axis-item [categories]="categories">
</kendo-chart-category-axis-item>
</kendo-chart-category-axis>
<kendo-chart-value-axis>
<kendo-chart-value-axis-item [labels]="valueAxisLabels">
</kendo-chart-value-axis-item>
</kendo-chart-value-axis>
<kendo-chart-series>
<kendo-chart-series-item *ngFor="let groupedResult of groupedTrendsByPeriod" [data]="groupedResult.items" field="income" type="column">
<kendo-chart-series-item-labels [content]="labelVisual">
</kendo-chart-series-item-labels>
</kendo-chart-series-item>
</kendo-chart-series>
</kendo-chart>
`,
})
export class AppComponent {
public valueAxisLabels: ValueAxisLabels = {
font: 'bold 16px Arial, sans-serif',
};
public trendItems: TrendItem[] = [
{
clientName: 'Client1',
periodName: 'Q1 2020',
income: 20,
},
{
clientName: 'Client1',
periodName: 'Q2 2020',
income: 15,
},
{
clientName: 'Client1',
periodName: 'Q3 2020',
income: 35,
},
{
clientName: 'Client1',
periodName: 'Q4 2020',
income: 40,
},
{
clientName: 'Client2',
periodName: 'Q1 2020',
income: 15,
},
{
clientName: 'Client2',
periodName: 'Q2 2020',
income: 20,
},
{
clientName: 'Client2',
periodName: 'Q3 2020',
income: 15,
},
{
clientName: 'Client2',
periodName: 'Q4 2020',
income: 30,
}
];
public categories = (groupBy(this.trendItems, [{ field: 'clientName' }]) as GroupResult[])
.map((e) => e.value);
public groupedTrendsByPeriod = groupBy(this.trendItems, [{ field: 'periodName' }]) as GroupResult[];
public labelVisual(e: { dataItem: TrendItem }) {
return `$${e.dataItem.income}\r\n${e.dataItem.periodName}`;
}
}
I have grid in angular and two buttons ones bind 5 column the other bind 2 but when i click them grid always shows 5 column.... How to fix this without using js? Is there any refresh() or rebind() function or directive?
html<button (click)="changeDataSource(1)">Data1</button> <button (click)="changeDataSource(2)">Data2</button>
<kendo-grid [data]="gridData | async" k-grid-options="sa">
</kendo-grid>
public gridData: Observable<any[]>;
constructor(private productService: ProductService) { }
ngOnInit(): void {
this.gridData = this.productService.getProducts();
}
changeDataSource(id: number) {
console.log(id);
if (id == 1) { this.gridData =this.productService.getProducts();}
if (id == 2) { this.gridData =this.productService.getProductsAlternative() }
}
getProducts(): Observable<Products[]>{ //Returns ProductID,ProductName,CategoryName,UnitPrice,UnitsInStock
return this.http.get<Products[]>(this.url)
}
getProductsAlternative(): Observable<ProductAlternative[]>{ //Returns ProductName,CategoryName
return this.http.get<ProductAlternative[]>(this.url1)
}
In the following snippet, for a single column, I am allowing only 1 filter criteria by setting [extra] to false. My goal is to restring the filter to only allow 1 criteria. Is it possible apply this for all columns in the grid without performing this action for each column?
<kendo-grid-column field="myDate" title="Title">
<ng-template kendoGridFilterMenuTemplate
let-filter let-column="column" let-filterService="filterService">
<kendo-grid-date-filter-menu
[column]="column" [filter]="filter" [filterService]="filterService"
[extra]="false"
operator="eq"
>
</kendo-grid-date-filter-menu>
</ng-template>
</kendo-grid-column>
How do I style Ordered and Unordered List bullets or numbers? I can't change a bullet or number colour using Toolbar buttons.
Hi,
Is there any possible way to implement more(...) option in week view when there are more than 2 events in same time slot(similar to month view).
Please find the attached image for reference.
Regards,
Shabana