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
1995
Freezing Columns in UltraWebGrid
posted

Dear Sir,

           I am using Ultrawebgrid to populate my dataset. When I try to Freeze columns in my grid, i was able to freeze only the First row of the grid. Is it possible to freeze the columns that were selected by the user at runtime? If so kindly reply.

 

  • 29417
    Suggested Answer
    Offline posted

    Hello sureshsimkumar ,

     

    Setting the Fixed property of the header can be done only on a full page postback on the server. Any changes to this property regardless if they're made from the JS or through an async postback are no persisted.

     

    You can simulate this by adding a button to the form and in its click event do the following:

     

    protected void Button1_Click(object sender, EventArgs e)

        {

            UltraWebGrid1.Columns[0].Header.Fixed = true;

        }

     

    Let me know if you have any further questions regarding this issue.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support