akveo / akveo/ng2-smart-table

How to customize the cell with an IF statement.

Đang mở
#551 1 bình luận 0 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ả

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

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.