akveo / akveo/ng2-smart-table

How to customize the cell with an IF statement.

Open
#551 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.