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
115
How to Fix Column by default
posted

Hello,

Is there any possible way to fix (ColumnFixing) WebDataGrid Column by default?

Parents
No Data
Reply
  • 33839
    Verified Answer
    posted

    Hi Salis,

    There is no way to fix a column from the aspx page as there is to filter a column currently.  You can do this in code inside of the page load function like so:

    this.WebDataGrid1.Behaviors.ColumnFixing.FixedColumns.Add().  The add function has 5 overloads.  It can take a FixedColumnInfo object, or a Column key (string) or Column object, each with optional FixLocation enum.

    Hopefully, this will get you started.

    regards,
    David Young

Children
No Data