Atomic template, how to pass inputs?
See original GitHub issueHey guys, I’m using Data Table (Atomic) Components
as shown here: https://teradata.github.io/covalent/#/components/data-table
I currently have a table that looks something like the following:
<table td-data-table>
<th td-data-table-column>
<md-icon>comment</md-icon>
<span>Comments</span>
</th>
<th td-data-table-column
*ngFor="let column of columns"
[numeric]="column.numeric">
{{column.label}}
</th>
<tr td-data-table-row *ngFor="let row of basicData">
<td td-data-table-cell (click)="openPrompt(row, 'comments')">
<button md-button [class.mat-accent]="!row['comments']">{{row['comments'] || 'Add Comment'}}</button>
</td>
<td td-data-table-cell *ngFor="let column of columns" [numeric]="column.numeric">
{{column.format ? column.format(row[column.name]) : row[column.name]}}
</td>
</tr>
</table>
How can I pass inputs into td-data-table for example, to enable rows being clickable or sortable ?
Thanks for your time and for the great set of components 👍
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
How to Provide Parameters to CfnInclude with CDK
When using CfnInclude, it's possible to provide parameters to a Cloudformation YAML file. This guide walks through how to do that.
Read more >How to pass parameters to template event in meteor?
Template.Header.events({ 'click .testClass':function(event, template){ console.
Read more >std::atomic - cppreference.com
Input /output library ... (C++11). Free functions for atomic operations ... The primary std::atomic template may be instantiated with any ...
Read more >Writing GN Templates
Things to Consider When Writing Templates. Inputs and Depfiles. List all files read (or executed) by an action as inputs . It is...
Read more >How to structure Storyblok spaces using Atomic Design
1. Define a folder to group our molecules. To do that, go to the Components section, which you can find in the left...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You mind sharing something about your solution for future generations? 😜
I managed to get this working in the end and quite well, thanks once again for the great component set 😃