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
444
how to freeze a column while scrolling horizontally
posted

Is there a way to freeze a particular column so that when user scrolls horizontally, all the other colomns will be moved except the one that is freezed.

I checked the property Grid1.DisplayLayout.Bands(0).Columns(1).Header.Fixed = True.

But it didn't work.

 

Thanks,

Sindhu

  • 444
    Suggested Answer
    posted

    I got the answer.

    Grid1.DisplayLayout.UseFixedHeaders = True

    Grid1.DisplayLayout.Bands(0).Columns(1).Header.Fixed = True

    Setting UseFixedHeaders worked for me.

    Thanks,
    Sindhu