Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
23144 | Jan 5,2005 04:52 PM UTC | Jan 10,2005 04:56 PM UTC | WinForms | 10 |
![]() |
Tags: GridControl |
this.gridDataBoundGrid1.EnableEdit = false;
at the bottom of the Form.Load in the sample above does not break the column moving for me.
If you are setting Enabled = false in some way, then that probably would break this as you would then no longer be able to click the header to select the column.
this.gridDataBoundGrid1.Model.Options.ClickedOnDisabledCellBehavior = GridClickedOnDisabledCellBehavior.DeactivateCurrentCell;
>this.gridDataBoundGrid1.Model.Options.ClickedOnDisabledCellBehavior = GridClickedOnDisabledCellBehavior.DeactivateCurrentCell;
>
That indeed works and I guess it''s what I will have to do. My largest concern is that why did anything have to change?
Thanks for the help though. I will addthis line of code where needed.
-Akshay
>Setting this property avoids the problem for me.
>
>this.gridDataBoundGrid1.Model.Options.ClickedOnDisabledCellBehavior = GridClickedOnDisabledCellBehavior.DeactivateCurrentCell;
>
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.