I was trying to show/hide ActionColumn based on some condition. In my system, 2 roles are defined : Primary & Secondary. …