This is a migrated thread and some comments may be shown as answers.

[Solved] Use Angular directive for column template

1 Answer 223 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 18 Sep 2014, 02:09 PM
I have a column defined like below:
{ field: "tnum", title:"Trade", template:"<div cr-deal-sheet=\"#: tnum#\">#: tnum#</div>" },

The directive works fine when it is on the page, however it does not get compiled when it is used inside the grid.  The "#: tnum" DOES get substituted, however the directive attribute is just silently ignored.

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 22 Sep 2014, 02:02 PM
Hello John,

I prepared a small example which demonstrates a similar scenario but with Kendo directives.
The test page seems to work fine on my end. Could you please check it and let me know what I am missing? Can you provide a Dojo test page that illustrates the non working scenario so I can examine it and advise you accordingly?

Thank you in advance for the cooperation.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or