I would like to hide a whole list column called "Metric" if the current user is not part of a group called "ACC". If he is a part of the group, I want to unhide he "Category" column.
Can you attach the HTML being rendered once the script is executed?
Melih SARICA
this code looks fine.. what is the problem ?
Isaac
ASKER
What I want to do is prevent the current user from editing an item if they are part of a particular group. The best way to go is to disable the "Edit Item" option but not sure if that is possible. If it's not possible, I would like to hide the whole column.
I am trying to either hide a column or hide the edit option based on the group the user is a part of.
For example, if I had 3 groups Department A, Department B and Department C.
Department A users should be able to edit its own items in a filtered view and if Department A is in Department B and C's view, it should only be able to read-only.
Hope that makes sense.
I can't use a feature but I'll try the javascript and target audience you mentioned.