ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: gblawler on January 22, 2016, 05:10:15 am

Title: colModel width property ignored
Post by: gblawler 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?
Title: Re: colModel width property ignored
Post by: paramvir on January 22, 2016, 01:31:31 pm
It can be due to scrollModel: { autoFit: true }