Re: Datagrids - Rows???
From: Darryn Ross (darryn_at_datawave.com.au)
Date: 03/23/05
- Next message: sj via DotNetMonster.com: "DataGrid boolcolumn problem..."
- Previous message: flat_ross: "Lock/Stop/Restrict entry when combo box is bound."
- In reply to: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Next in thread: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Reply: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Mar 2005 08:30:23 +1000
ok... does really help my case at all.
one other thing i could try to do is, check for a setting in the
CurrentCellChanged event to see wether it is a row i should be changing or
and if it isn't deny the change??
i am not sure how to do this though?
> Hi,
>
> As far as I know, you can only set columns or the entire datagrid read-
> only. What I suggest is that in your table (in the database), you have a
> column "ReadOnly" for example and you set it for the rows you want. When
a
> user tries to modify a particular row, you do a lookup on that column in
> your dataset in the CurrentCellChanged event of your DataGrid.
>
> Hope this helps,
>
> E
>
> --
> Message posted via http://www.dotnetmonster.com
- Next message: sj via DotNetMonster.com: "DataGrid boolcolumn problem..."
- Previous message: flat_ross: "Lock/Stop/Restrict entry when combo box is bound."
- In reply to: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Next in thread: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Reply: Erwin Pant via DotNetMonster.com: "Re: Datagrids - Rows???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|