2
votes

According to https://www.telerik.com/kendo-angular-ui/components/faq/ Kendo Grid for Angular 2 supports Row Templates

Does the Grid for Angular support the same attributes, such as header attributes and row templates, as the Grid for jQuery?

Yes, it does. For more information, refer to the API index of the Grid.

However, looking at the API and the examples, I can't find a rowTemplate example anywhere. I need to add a directive to the row for a row level tooltip. Is this possible?

1

1 Answers

0
votes

I don't think that row template exists.
But you probably want cell template. Demo can be found under Columns Templates.

This plunkr is showing hint on cell value.

<kendo-grid [data]="gridData">
    <kendo-grid-column field="ProductName">
        <ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
            <strong [title]="dataItem.Discontinued ? 'discontinued' : 'active'">{{dataItem.ProductName}}</strong>
        </ng-template>
    </kendo-grid-column>
</kendo-grid>