Question enabling gridview column at runtime

ollydsouza

Member
Joined
Mar 2, 2012
Messages
6
Programming Experience
10+
Hi,

I have a gridview with one of the columns disabled at design time and based on a specific role of the user I need to enable it in run time.

so:

If user_role = isfromthisgroup then
gridview.col(4).enable
end if

How can this be achieved? Any help is appreciated. Thanks.
 
Back
Top