ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: ralph1996 on September 30, 2016, 12:39:51 am

Title: Override of properties in Columns
Post by: ralph1996 on September 30, 2016, 12:39:51 am
Is it possible to override some of the grid settings for individual columns?  Specifically can you somehow use flex as well as wrap on specific columns instead of the whole grid?

I don;t see overrides for these in the colModel so I asume this is not possible, but maybe I am missing some other nuance.
Title: Re: Override of properties in Columns
Post by: paramvir on September 30, 2016, 11:48:33 am
wrap is applied to all or none of the columns.

flex can be applied selectively to selected columns as per the API http://paramquery.com/pro/api#method-flex
Title: Re: Override of properties in Columns
Post by: ralph1996 on September 30, 2016, 09:57:43 pm
Thank you.  I missed that. I only saw the width: 'flex'  This may be very helpful.  it will depend on the behavior of a column using flex and wrap being true for the grid.  My guess is the flex will override the wrap since it will make the column wide enough.  I will check it out.