New to Kendo UI for AngularStart a free 30-day trial

GridSmartBoxHistoryItemTemplateDirective

Updated on Feb 6, 2026

Renders the history item content.

To define the history item template, nest a <ng-template> tag with the kendoGridSmartBoxHistoryItemTemplate directive inside the component tag.

The template context is set to the current history item. Use the let-item directive to reference the current history item.

html
<kendo-smartbox>
  <ng-template kendoGridSmartBoxHistoryItemTemplate let-item>
    <kendo-icon-wrapper name="clock" [svgIcon]="clockIcon"></kendo-icon-wrapper>
    <span>{{item.text}} ({{ item.timestamp | date: 'shortTime' }})</span>
  </ng-template>
</kendo-smartbox>
NameTypeDefaultDescription

templateRef

TemplateRef<any>

Constructors

GridSmartBoxHistoryItemTemplateDirective

(templateRef: TemplateRef<any>)

Parameters

templateRef

TemplateRef<any>

In this article
ConstructorsGridSmartBoxHistoryItemTemplateDirective
Not finding the help you need?
Contact Support