Completed
Last Updated: 01 Apr 2021 07:02 by ADMIN
Gary
Created on: 14 Jul 2017 21:27
Category: PanelBar
Type: Feature Request
3
Custom Template for PanelBar
I'd like to be able to create a custom template for the PanelBar control's header (the actual bar portion) kind of like what I can do with the ngb-accordion control (https://ng-bootstrap.github.io/#/components/accordion/examples):

<ngb-accordion [closeOthers]="true">
	<ngb-panel *ngFor="let something of somethings">
		<ng-template ngbPanelTitle>
			Custom header content
		</ng-template>
		<ng-template ngbPanelContent>
			Some custom content
		</ng-template>
	</ngb-panel>
</ngb-accordion>

There's lots of content I would like to be able to include beyond just a simple icons and simple text. I might need links with ties to analytics to track expansion or maybe a "new" and/or "draft" icon positioned to the right of the text to indicate that it's a new item or a draft item, etc.
1 comment
ADMIN
Martin
Posted on: 01 Apr 2021 07:02

Hi Gary,

I am glad to share that the PanelBar templates are already available. More information can be found here:

https://www.telerik.com/kendo-angular-ui/components/layout/panelbar/templates/

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.