Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support
Resources
Design and Productivity Tools
Hello, how can i create dynamic columns in a detail template?
I want to create as many columns as there are elements within 'data' as shown in the attached image
great regards,
Alex
<ng-container *ngFor="let column of gridColumns"> <kendo-grid-column field="{{column.field}}" title="{{column.title}}" width="{{column.width}}" [minResizableWidth]="column.minResizableWidth" [resizable]="column.resizable" [sortable]="column.sortable ? { mode: 'single', allowUnsort: false } : false" [filterable]="column.filterable" [hidden]="column.hidden" [lockable]="column.lockable" [locked]="column.locked" [columnMenu]="column.columnMenu" kendoGridSelectBy="nameId" [selectedKeys]="selectedKeys"> <ng-template kendoGridCellTemplate let-dataItem="dataItem" let-rowIndex="rowIndex">