akveo / akveo/ng2-smart-table

How to add custom icon/css dynamically in ng-smart-table

オープン
#1,273 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
867
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello everyone,

In my ng-smart-table, I have an attribute called "active" which can be true or false.

I want to color the "power on/off " button in the custom actions depending on the active value.

If active == true : the power button is green
If active == false: the power button is red

![smart table](https://user-images.githubusercontent.com/52453498/118704089-a9a2be00-b80e-11eb-8420-2ed4f377a4e6.png)

Thanks in advance

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。