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
210
MultiBand Column Lengths
posted

I have an UltraGrid with multiple bands and I would like the columns for each band to have different widths.  For example, in the first band, first column, the bound data is a date so I would like it to have a width of about 85.  The first column in the second band is text so I would like to have this column sized to a width of 300.  Is this possible?  As far as I can find it is not and was hoping for confirmation either way.

Thanks for your help,

AJL

  • 45049
    Verified Answer
    posted

    Yes, this is possible.  You need to set the grid's DisplayLayout.Override.AllowColSizing to either "Free" (if you want the user to be able to resize columns) or "None" (if you don't want the user to be able to resize columns).  By default, this property works as if it is set to "Synchronous", so the right edges of the corresponding column in every band will line up, which I assume is the behavior you're seeing.