akveo / akveo/ng2-smart-table

How to customize the cell with an IF statement.

未关闭
#551 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
867
PR 合并指标
30 天内没有已合并 PR

描述

Hi,
I wanted to know what is the approach through ng2-smart-table to output different values from what we get from the json response. For example, I am getting the profile ID of the user but I want to make it a link when I click on it to go to his profile, the same I want to do when I want to activate or deactivate his account. I will get the account status through json with 1/0 true or false and I want to make the cell show the Deactivate button when the account is activated, and when it is not then to show the Activate button.

I hope there is a solution to this.

Thanks

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。