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
75
Freeze Columns in UltraWebGrid
posted
Dear All,
 
I am trying to freeze(make fixed)  the first four columns displayed in the grid with the following code.I am also merging the cells based on the requirement. Please look at the image attached to know in detail.
 
 protected void UltraGrid_InitializeLayout(object sender, LayoutEventArgs e)
    {
        e.Layout.UseFixedHeaders = true;
        UltraGrid.Bands[0].Columns[0].Header.Fixed = true;
        UltraGrid.Bands[0].Columns[1].Header.Fixed = true;
        UltraGrid.Bands[0].Columns[2].Header.Fixed = true;
        UltraGrid.Bands[0].Columns[3].Header.Fixed = true;
        UltraGrid.Bands[0].Columns[4].Header.Fixed = true;
    }
 
When I try to freeze the first four columns, the rest of columns are getting disturbed.When i try the sample with out freezing its working fine.Can you please let me know the Solution with some sample code to merge the cells and also freeze the columns.
 
Thanks & Regards
ZSLINC.
  • 7694
    posted


    Hello,


    Please take a look at the link below:
    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm
    Grid  ->  Cell Merging.


    If doesn’t help please provide more additional information, because I am not sure where is the issue.

    Тhanks