Welcome Guest Search | Active Topics | Sign In | Register

Grid Locked Column Options
pghcpa
Posted: Saturday, September 26, 2009 4:53:24 PM
Rank: Advanced Member
Groups: Member

Joined: 8/26/2009
Posts: 64
I have developed a grid with two columns as a DetailsView of one record.

First column is the field name (a static column).

Second column is the value (a custom column).

Only the second column has editable cells. I want FullRowMode=False and EnableKeyBoardNavigation=True.

But, it still allows the user to click and land on the first column which then changes it to the SelectedStyle; visually not what I prefer. In MS-Access, for example, you can Disable and Lock and column so the user can't land on it to select it.

Is that possible and, if so, how do I do it?

Note, I could not find how to change SelectedStyle individually for each column, doesn't accept a <SelectedStyle> element except in <ItemStyles>, because I ithink that setting is for the whole grid.

Thanks.
eo_support
Posted: Monday, September 28, 2009 8:51:23 AM
Rank: Administration
Groups: Administration

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

Try to set the Grid's FixedColumnCount to 1. That way the first column will be "fixed" (no longer scrolls horizontally), it also switches to FixedColumnCellStyle.

Thanks


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.