How to render columns of this primeng table based on the user logged in ?

18 views
Skip to first unread message

Manish Jain

unread,
Dec 8, 2018, 9:26:33 PM12/8/18
to Angular and AngularJS discussion
I am using this primeng table. Its working fine but I want to render columns meaning I want to show only selected columns of the table to one user and likewise. I want to render columns when loading the table based on the logged in user's role. Howz that possible ? I think ng-if should work but where and how. I did try but dint work. 

The table is live here -


And the source here -

Tito

unread,
Dec 9, 2018, 12:25:07 AM12/9/18
to Angular and AngularJS discussion
What and Where is the data store?
Reply all
Reply to author
Forward
0 new messages