ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: peterchaim on August 19, 2017, 01:54:42 am

Title: columns not resizing when minwidth or width is specified
Post by: peterchaim on August 19, 2017, 01:54:42 am

Hi Paramvir thanks for your help so far, I'm making good progress!

I'm struggling with column width. If I specify the minwidth or width attributes in the colModel, then the column is no longer resizable. Adding resizable: true does not help. Adding flexWidth on the grid level seems to ignore all the settings and I start out with a very narrow grid that does not show the values fully.

Instead of resizing, the columns move to new relative locations -- that is a feature I do not need.

I'm also having some trouble with the height attribute -- I set it to 100% but it is not using all of the height in the containing panel.

Thanks again for your help - enjoy your weekend!

Thanks,
Peter, Steward Health Care

Title: Re: columns not resizing when minwidth or width is specified
Post by: paramvir on August 21, 2017, 12:22:44 pm
Peter

Quote
I'm struggling with column width. If I specify the minwidth or width attributes in the colModel, then the column is no longer resizable. Adding resizable: true does not help. Adding flexWidth on the grid level seems to ignore all the settings and I start out with a very narrow grid that does not show the values fully.

Have you specified the column width in %. If so the columns can't be resized independently.

Quote
Instead of resizing, the columns move to new relative locations -- that is a feature I do not need.

Haven't experience such issue.
Please share a jsfidde and steps to reproduce the issue. This http://jsfiddle.net/0wgs1orb/ can be taken as starting point.

Quote
I'm also having some trouble with the height attribute -- I set it to 100% but it is not using all of the height in the containing panel.

It works fine. Please check this: http://jsfiddle.net/1hy93bjy/ If it's not working for you, please share a jsfiddle.
Title: Re: columns not resizing when minwidth or width is specified
Post by: CharlestonGeek on October 13, 2022, 10:59:55 pm
We are seeing this issue with columns where the width is set to a percent %.

We tested with version 7.1.0 and 8.2.1.
Title: Re: columns not resizing when minwidth or width is specified
Post by: paramvir on October 14, 2022, 05:45:50 am
It doesn't make sense to resize the columns independently of the grid if their width is specified in %. You have to resize the whole grid to resize % width columns