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
20
UltraWebGrid scrolling issue
posted

I have added panel to my page. Within which I have added a UltraWebGrid. This UltraWebGrid has 22 columns, so it doesn't fit inside the panel. I added a horizontal scrollbar but it is not working. It is still going out of the panel.

Can you please provide some input? I am new to this.

  • 820
    posted

    check the width of the panel and grid. 

    check below properties of the ultraweb grid.

    ScrollBarView

     

    ="Both" ScrollBar="Always"

    TableLayout

     

    ="Fixed"

    UseFixedHeaders="True"

    if you want to fix the header of few of the columns then add the below line of code in your grid initializelayout event. the below code will fix your first four columns in the grid.

     
                e.Layout.Bands[0].Columns[0].Header.Fixed = true;
                e.Layout.Bands[0].Columns[1].Header.Fixed = true;
                e.Layout.Bands[0].Columns[2].Header.Fixed = true;
                e.Layout.Bands[0].Columns[3].Header.Fixed = true;