akveo / akveo/ng2-smart-table

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

Đang mở
#1,273 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.