Author Topic: colModel width property ignored  (Read 2282 times)

gblawler

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 8
    • View Profile
colModel width property ignored
« on: January 22, 2016, 05:10:15 am »
Hi, I'm using Pro v 3.2.0 and am having problems where the width property on some of my columns (using the auto-save model of editing) are seemingly ignored.

E.g., a value of '236124' is being wrapped so that the trailing '4' is on a second line by itself, and a single word with no spaces is being cut in half in another column.  Also, double clicking the separator bar between the columns (which usually will auto-size them properly, as in Excel) does not seem to work ... I suppose both are symptoms of the same issue.

So, what might be causing the grid to not properly set the widths as I want in this case?  Any hints as to what option I may have incorrect set or should set to correct this?

The above symptoms happen when I have 'flex: { one: true }' on in my options, but if I take that out, the columns still don't size as I want (though they seem to respect the 'width' options then), and *then* if I double click the separator part, they *do* go to exact the right size.

Any suggestions, anyone?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6264
    • View Profile
Re: colModel width property ignored
« Reply #1 on: January 22, 2016, 01:31:31 pm »
It can be due to scrollModel: { autoFit: true }