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
150
Fix ONLY the RowSelectors In Grid
posted

I have a WinGrid that I need only the RowSelectors fixed in. I do not want fixed columns for any other column. Fixing the other columns causes problems when the users start reordering columns manually, all of the indexes are off and the maintence overhead is not worth the effort. However, the users would still like to be able to see the RowSelectors while scrolling to the right.

Parents
No Data
Reply
  • 150
    posted

    I managed to figure out my own problem. Here is the soultion if anyone is interested.

     Use fixed headers for the entire grid. Then disable each columns fixed header.

    _tableUltraGrid.DisplayLayout.UseFixedHeaders = true;

    foreach( UltraGridColumn column in _tableUltraGrid.DisplayLayout.Bands[0].Columns )

    {

    column.Header.Fixed =
    false;

    column.Header.FixedHeaderIndicator = FixedHeaderIndicator.None;

    }

Children