Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1005
How to disable row selection?
posted

I would like to stop row selection with the following code...it's not working;

 

 

 

 

If 

 

ddlYearMo < currYearMo Then

 

 

Me.wdgLiftCnt.Behaviors.Selection.RowSelectType = GridControls.SelectType.None

 

 

Else

 

 

Me.wdgLiftCnt.Behaviors.Selection.RowSelectType = GridControls.SelectType.Single

 

 

End If

Parents
  • 33839
    posted

    Hi davefevold,

    In what way is this code not working for you?  Changing the select type affects what the user will be able to do after, but it does not clear the selected rows collection.  Maybe you could be a little clearer on your scenario?

    regards,
    David Young 

Reply Children