Author Topic: Override of properties in Columns  (Read 2432 times)

ralph1996

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 80
    • View Profile
Override of properties in Columns
« 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Override of properties in Columns
« Reply #1 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

ralph1996

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 80
    • View Profile
Re: Override of properties in Columns
« Reply #2 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.