Hi.
I'm exploring the possibilities of implementing hierarchical grids in Kendo UI for Angular and would like to know if it is possible to create grids with an infinite (or unpredictable) number of levels, each having heterogeneous structures.
Specifically, the requirement would involve different structures at each level (i.e., different columns and data types), and the number of nested levels is not known in advance.
Is there a way to dynamically handle these scenarios within the Kendo UI for Angular grid component?
I would appreciate any insights, examples, or suggestions on how to approach this.
Regards.
I've got a use case where the number of steps in a vertically oriented stepper are dynamic.
If the number of steps is decently high (like, above 10) and the current step is also high, reducing the number of steps to a small value causes a very long and weird looking animation of the progress bar.
Here is a stackblitz demonstrating the issue
Turning off animations or reducing the time would mitigate this problem, but I think the animations are nice to have, especially when progressing through the stepper in a more traditional fashion.
Hi,
I have been trying to install gantt chart, version 0.2.0. There are several errors when I import it in app.module.ts. I am attaching screenshot of package.json and the error.
Hi,
I have a kendo-splitter with two horizontal panes with large content. After page loading, when I resize the browser (half the width), the behaviour is as expected: each pane gets its own horizontal scrollbar.
However, if once resized by the splitter bar, the pane width is not longer adjusted after browser resize events. Instead, the page shows a single scrollbar for the whole splitter.
I understood from a similar JQuery thread (https://docs.telerik.com/kendo-ui/knowledge-base/keep-pane-size-in-percentages), that this is expected and that I have to rearrange the pane sizes programatically.
Is there more recent angular sample code for this approach, our could someone kindly layout the most effective way (avoid flickering etc.)?
As an additional question : How do I achieve separate vertical scrollbars for the panes? The pane contents have different size. When changing the height of the browser window, I get one vertical scrollbar for the whole splitter. However I would prefer separate vertical scrollbars for the panes.
My sample component code is placed below, toghether with two screenshots of wanted / unwanted rendering.
Thank you!
import {Component} from '@angular/core';
import {SplitterComponent, SplitterPaneComponent} from '@progress/kendo-angular-layout';
@Component({
selector: 'app-root',
standalone: true,
imports: [SplitterComponent, SplitterPaneComponent],
template:
`
<div class="container" kendoWindowContainer>
<main>
<kendo-splitter style="height: 100%">
<kendo-splitter-pane [collapsible]="true">
<div class="pane-content" style="height: 500px">
<h3>Inner splitter / left pane</h3>
<p>Resizable and collapsible.</p>
</div>
</kendo-splitter-pane>
<kendo-splitter-pane>
<div class="pane-content" style="height: 700px">
<h3>Inner splitter / center pane</h3>
<p>Resizable only.</p>
</div>
</kendo-splitter-pane>
</kendo-splitter>
</main>
</div>
`,
styles: `
.pane-content {
padding: 0 10px;
border: black 1px solid;
width: 600px;
}
h3 {
font-size: 1.2em;
margin: 10px 0;
padding: 0;
}
p {
margin: 0;
padding: 0;
}
`
})
export class AppComponent {
title = 'test-kendo-splitter';
}
if I have content like this...
<div>
{{content}}
</div>
<div kendoWindowContainer></div>
if the content on the page is large enough, then when I create the window with the angular service, it makes the page scroll down to the bottom where the windowContainer div is located. Even though the service is explicitly setting the window position to be at the top of the page.
So effectively, when the user clicks the button to trigger showing the window, suddenly the page scrolls to the bottom and they can no longer see the section of the content they were looking at NOR the window since it has scrolled up as well.
How do I prevent the page from scrolling to where the container is located when I'm opening a window with the angular service?
hi,
can you please tell me how to apply bootstrap table style,i.e table-primary,table-secondary...,please see the below:
<table class="table-primary">...</table>
<table class="table-secondary">...</table> <table class="table-success">...</table> <table class="table-danger">...</table> <table class="table-warning">...</table> <table class="table-info">...</table> <table class="table-light">...</table> <table class="table-dark">...</table>
the grid i am using is descripted as below web page:
https://www.telerik.com/kendo-angular-ui/components/grid
thank you.
david
I've prepared kendo grid with multiselection and everything was fine until I updated kendo packages:
Old versions:
"@progress/kendo-angular-buttons": "^5.5.2", "@progress/kendo-angular-common": "^1.0.0", "@progress/kendo-angular-dateinputs": "^4.3.2", "@progress/kendo-angular-dialog": "^4.2.3", "@progress/kendo-angular-dropdowns": "^5.5.0", "@progress/kendo-angular-editor": "^1.2.4", "@progress/kendo-angular-excel-export": "^3.1.5", "@progress/kendo-angular-grid": "^4.8.4", "@progress/kendo-angular-inputs": "^6.4.0", "@progress/kendo-angular-intl": "^2.0.4", "@progress/kendo-angular-l10n": "^2.0.0", "@progress/kendo-angular-label": "^2.3.3", "@progress/kendo-angular-layout": "^4.2.0", "@progress/kendo-angular-listview": "^0.2.0", "@progress/kendo-angular-menu": "^2.0.4", "@progress/kendo-angular-notification": "^2.1.3", "@progress/kendo-angular-pager": "^1.0.0", "@progress/kendo-angular-pdf-export": "^2.0.4", "@progress/kendo-angular-popup": "^3.0.0", "@progress/kendo-angular-progressbar": "^1.0.0", "@progress/kendo-angular-toolbar": "^3.2.1", "@progress/kendo-angular-tooltip": "^3.0.0", "@progress/kendo-angular-treelist": "^2.0.0", "@progress/kendo-angular-treeview": "^5.4.2", "@progress/kendo-angular-upload": "^6.1.0", "@progress/kendo-data-query": "^1.5.4", "@progress/kendo-drawing": "^1.5.12", "@progress/kendo-theme-default": "^4.23.0", "@progress/kendo-licensing": "^1.2.1",
After update operation:
"@progress/kendo-angular-buttons": "^8.0.0", "@progress/kendo-angular-common": "^3.1.0", "@progress/kendo-angular-dateinputs": "^7.0.1", "@progress/kendo-angular-dialog": "^7.1.2", "@progress/kendo-angular-dropdowns": "^7.0.2", "@progress/kendo-angular-editor": "^4.1.3", "@progress/kendo-angular-excel-export": "^5.0.1", "@progress/kendo-angular-grid": "^7.2.3", "@progress/kendo-angular-inputs": "^9.0.3", "@progress/kendo-angular-intl": "^4.1.0", "@progress/kendo-angular-l10n": "^4.0.0", "@progress/kendo-angular-label": "^4.0.0", "@progress/kendo-angular-layout": "^7.1.0", "@progress/kendo-angular-listview": "^4.0.0", "@progress/kendo-angular-menu": "^4.0.0", "@progress/kendo-angular-notification": "^4.0.0", "@progress/kendo-angular-pager": "^4.0.1", "@progress/kendo-angular-pdf-export": "^4.0.0", "@progress/kendo-angular-popup": "^5.0.0", "@progress/kendo-angular-progressbar": "^3.0.0", "@progress/kendo-angular-toolbar": "^6.0.2", "@progress/kendo-angular-tooltip": "^4.0.1", "@progress/kendo-angular-treelist": "^5.0.3", "@progress/kendo-angular-treeview": "^7.1.0", "@progress/kendo-angular-upload": "^9.0.2", "@progress/kendo-data-query": "^1.6.0", "@progress/kendo-drawing": "^1.16.3", "@progress/kendo-theme-default": "^5.5.0", "@progress/kendo-licensing": "^1.2.2",
My Kendo Grid properties:
<kendo-grid
[selectable]="selectableSettings"
(selectedKeysChange)="keyChange($event)"
kendoGridSelectBy="id"
[selectedKeys]="mySelection"
>
Before update everything was fine I mean, I had correct objects (ids) into mySelection array number property.
Defined property into component:
mySelection: number[] = [];
Selectable settings:
this.selectableSettings = { checkboxOnly: true, mode: "multiple" };
KeyChange method:
keyChange(e){ this.closeEditor(); if(e.length > 0) { this.isSelectionDisabled = false; } else { this.isSelectionDisabled = true; } this.extractDataItems = []; this.extract(); }
Extract method:
extract() { this.mySelection.forEach(idx => { this._subs.add( this.timeBookings$.pipe( map(items => items.find(item => item.id === idx) )).subscribe(r => { if(this.mySelection.length > 0 && r) { this.extractDataItems.push(r); } }) ); }); }
Important!
When I'm selecting some rows - mySelection is always empty.
I know that in keyChange(e) method I can do something like:
this.mySelection = e;
Parameter of:
keyChange(e) - parameter e has correct value all the time