card values inside template

if I want to use a template for a kanban card, how do I access the properties of each card ?

The documentation for card template has the the example of

<td>{{:Assignee}}</td>
however the compiler complains about this 

Error: Template parse errors: Parser Error: Unexpected token : at column 1 in [ {{:Assignee}} ] in ng:///KanbanModule/BoardComponent.html@10:51 

if I just use {{Assignee}} then I get "undefined" in the card

this is the code

<ej-kanban id="Kanban" [dataSource]="kanbanData" keyField="Status" [isResponsive]="true" fields.content="Summary" [editSettings.editItems]="editItem"
editSettings.allowEditing="true" editSettings.allowAdding="true" fields.primaryKey="Id" allowTitle="true" allowScrolling="false"
cardSettings.template="#cardTemplate">

<ng-template #cardTemplate >
{{Assignee}}
</ng-template>


1 Reply

AP Arun Palaniyandi Syncfusion Team July 24, 2018 12:37 PM UTC

Hi Julian Lyndon-Smith,

Thanks for your patience. 
 
We have considered this “ng-template support for Kanban template” as a feature and added it to our feature request list. This feature will be included in any of our upcoming Volume releases. Kindly check our websites for more information about releases and updates. 

Regards,
Arun P.  
 
 


Loader.
Up arrow icon