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
175
WinGrid AllowColMoving property
posted

Is it possible ot have a column not allowed to be moved, but the rest of the columns are moveable?

Example

e.Layout.Override.AllowColMoving = Infragistics.Win.UltraWinGrid.AllowColMoving.Default;

e.Layout.Bands[0].Columns[0].Layout.Override.AllowColMoving =

Infragistics.Win.UltraWinGrid.AllowColMoving.NotAllowed;

 

When I use this code, no columns in the table are moveable.

If this is not possible, is there any other way to "lock" a column.