swimlane/angular-data-table

Feature request - Column name attribute as expression

Open

#180 创建于 2016年4月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (582 star) (150 fork)batch import
enhancementhelp wanted

描述

If you define columns in HTML as in the "Expressive Columns" live demo, the name attribute is always treated as a string even if it's an angular expression. <column name="Gender" flex-grow="1"> {{monkey}} {{$cell}} </column>

It would be useful to let it be an expression too, mostly for translation purpose. For example using angular-translate you could write: <column name="{{'users.gender'|tranlsate}}" flex-grow="1"> {{monkey}} {{$cell}} </column>

Thank you for the great work.

贡献者指南

Feature request - Column name attribute as expression · swimlane/angular-data-table#180 | Good First Issue