Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support
Resources
Design and Productivity Tools
I thought this would be an easy out of the box, but I was looking to have one detail open at a time. How would I achieved that
thanks in advance..
Hi John,
In order to have one detail open at a time in the Kendo UI Master-Detail Grid, use the detailExpand event to update the expandedDetailKeys collection. For example:
<kendo-grid kendoGridExpandDetailsBy="ProductID" [(expandedDetailKeys)]="expandedDetailKeys" (detailExpand)="detailExpand($event)" > <ng-template kendoGridDetailTemplate let-dataItem> </ng-template> </kendo-grid>
public expandedDetailKeys: number[] = [1]; public detailExpand(e) { this.expandedDetailKeys = [e.dataItem.ProductID]; }
Please take a look at this StackBlitz example where I have demonstrated the above discussed approach.
I hope this helps. Feel free to reach out if you have any further questions pertaining to controlling the expanded state of the detail Grid.
Regards, Hetali Progress Telerik