I\'m using angular material table for displaying data and dyanmically binding the table header and table data. Is there any way to format particaular column\'s cell content dyn
You can dynamically set the column alignment to right by adding something like, [align]="expression ? 'right' : ''" to the element, so for your code this would look like: {{displayedFields[i].name}} {{ element[col] }} 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
[align]="expression ? 'right' : ''"
element, so for your code this would look like: {{displayedFields[i].name}} {{ element[col] }} 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
{{displayedFields[i].name}} {{ element[col] }}