Click here to Skip to main content
15,890,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMaking a particular cell of datagrids uneditable [modified] Pin
hsprasain5-Jul-07 8:23
hsprasain5-Jul-07 8:23 
AnswerRe: Making some columns of datagrids uneditable Pin
aphei5-Jul-07 17:07
aphei5-Jul-07 17:07 
GeneralRe: Making some columns of datagrids uneditable Pin
hsprasain6-Jul-07 5:45
hsprasain6-Jul-07 5:45 
AnswerRe: Making some columns of datagrids uneditable Pin
Johan Hakkesteegt5-Jul-07 22:02
Johan Hakkesteegt5-Jul-07 22:02 
GeneralRe: Making some columns of datagrids uneditable Pin
hsprasain6-Jul-07 5:51
hsprasain6-Jul-07 5:51 
GeneralRe: Making some columns of datagrids uneditable Pin
Johan Hakkesteegt8-Jul-07 19:56
Johan Hakkesteegt8-Jul-07 19:56 
GeneralRe: Making some columns of datagrids uneditable Pin
hsprasain9-Jul-07 18:07
hsprasain9-Jul-07 18:07 
GeneralRe: Making some columns of datagrids uneditable Pin
Johan Hakkesteegt10-Jul-07 0:12
Johan Hakkesteegt10-Jul-07 0:12 
Hi,

My apologies, I misinformed you. I just mistakenly assumed there would be, but you are right, there isn't any direct option to make a row readonly.

The next option that comes to mind (and I don't see any alternatives), if you really need to lock only certain cells, is to set the readonly property of the datagrid to true, and bind the data from the selected datarow to regular textboxes or some other input system. This will allow you to control the input more easily, and to simply enable or disable a textbox when certain criteria are met.

Hope it helps,

Johan

My advice is free, and you may get what you paid for.

GeneralRe: Making some columns of datagrids uneditable Pin
hsprasain10-Jul-07 5:29
hsprasain10-Jul-07 5:29 
GeneralRe: Making some columns of datagrids uneditable Pin
Johan Hakkesteegt10-Jul-07 20:25
Johan Hakkesteegt10-Jul-07 20:25 
GeneralRe: Making some columns of datagrids uneditable Pin
hsprasain12-Jul-07 17:54
hsprasain12-Jul-07 17:54 
QuestionView and Review my looping code Pin
steve_rm5-Jul-07 7:27
steve_rm5-Jul-07 7:27 
AnswerRe: View and Review my looping code Pin
Christian Graus5-Jul-07 7:33
protectorChristian Graus5-Jul-07 7:33 
AnswerRe: View and Review my looping code Pin
kubben5-Jul-07 7:33
kubben5-Jul-07 7:33 
QuestionVisual Basic to Access Pin
Ronak0855-Jul-07 6:49
Ronak0855-Jul-07 6:49 
AnswerRe: Visual Basic to Access Pin
Christian Graus5-Jul-07 7:19
protectorChristian Graus5-Jul-07 7:19 
GeneralRe: Visual Basic to Access Pin
Ronak0856-Jul-07 1:21
Ronak0856-Jul-07 1:21 
AnswerRe: Visual Basic to Access Pin
jonathan155-Jul-07 7:52
jonathan155-Jul-07 7:52 
GeneralRe: Visual Basic to Access Pin
Ronak0856-Jul-07 1:33
Ronak0856-Jul-07 1:33 
AnswerRe: Visual Basic to Access Pin
haggenx5-Jul-07 10:51
haggenx5-Jul-07 10:51 
QuestionUndo not working after Worksheet_Change Sub Routine in Excel Pin
reegan415-Jul-07 6:41
reegan415-Jul-07 6:41 
QuestionTopMost isnt working for me Pin
uk_nbb5-Jul-07 5:59
uk_nbb5-Jul-07 5:59 
AnswerRe: TopMost isnt working for me Pin
Christian Graus5-Jul-07 6:21
protectorChristian Graus5-Jul-07 6:21 
GeneralRe: TopMost isnt working for me Pin
uk_nbb5-Jul-07 6:36
uk_nbb5-Jul-07 6:36 
GeneralRe: TopMost isnt working for me Pin
Dave Kreskowiak5-Jul-07 15:45
mveDave Kreskowiak5-Jul-07 15:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.