Author Topic: Column width issues when all columns are selected  (Read 1974 times)

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
Column width issues when all columns are selected
« on: May 09, 2018, 07:34:34 pm »
I am using grid 3.4 version.
I am setting width of columns to be 100 by default. There are 84 columns in grid. By default I am displaying 14.
If user selects all columns from column selector, then width of columns get set to 50. Column resizing is also not working then.

 I am not sure why that is happening.

When I look at column in console I see for the column   min width  and maxwidth are getting set,  but I am not setting them . I am thinking this is getting set because of some other property ?

 width : 233
_maxWidth : 1403
_minWidth : 50
_width: 233



  var obj = {
                height: table_height,
                width: '100%',
                virtualX: true,
                virtualY: true,
                showTitle: true,
                resizable: true,
                showHeader: true,
                stripeRows: true,               
                on: true,
                wrap: false,
                collapsible: false,
                freezeRows: 0,
                numberCell: { show: true },
             
                track: true, //to turn on the track changes.
                toolbar: {

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
Re: Column width issues when all columns are selected
« Reply #1 on: May 09, 2018, 10:11:26 pm »
Please delete it. I figured it out.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Column width issues when all columns are selected
« Reply #2 on: May 09, 2018, 10:13:11 pm »
What's the value of scrollModel option.