Welcome Guest Search | Active Topics | Sign In | Register

GridView disabled and scrolling Options
Mona
Posted: Friday, March 12, 2010 11:38:05 AM
Rank: Advanced Member
Groups: Member

Joined: 5/15/2009
Posts: 33
Hi,

Is it possible to have the grid disabled, but the verticall scrollbar to still be enabled? I am disableing a grid based on a condition but I still want to leave the users the ability to look at the whole table in the grid by being able to scroll up and down. Could you let me know how to do that or if it is even possible?

Thanks,
Mona
eo_support
Posted: Friday, March 12, 2010 12:21:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You might be confusing about "disabling Grid" and "disabling Editing". A Grid can be enabled but not allowing editing. To disable editing on a Grid, you can use a totally different Grid with no editable columns (for example, all StaticColumns), or handling ClientSideBeginEdit on Grid columns and return false from your handler to prevent a column entering editing mode.

Thanks!
Mona
Posted: Friday, March 12, 2010 4:01:16 PM
Rank: Advanced Member
Groups: Member

Joined: 5/15/2009
Posts: 33
Thanks for pointing that out. You're right, using the client script was what I needed. It works well.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.