akveo / akveo/ng2-smart-table

How to customize the cell with an IF statement.

オープン
#551 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。