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
700
default size for columns
posted

this should be a simple thing, 

i am trying to set a default width on a column (this would mean if a cell has more content then the width, it should be hidden), and let the user resize as they please. 

 

but it seems that the column will be auto re-sized to fit the content. the only way i've been able to set the default is by setting min and max width to the same size, but this leaves the column not resizable. 

 

what is the property that will let me set default width, and not have it resize to fit the contents? 

 

Parents
  • 435
    Verified Answer
    posted

    You may check the Resize-Settings:

    Right Click on the Grid -> Ultragrid Designer -> Feature Picker -> AutoFit Style(and set this to 'none')

    If this doesn't help, try to use a BindingSource (Because I also had problems like this when I was binding the data directly to the grid.DataSource)

Reply Children