title: Hide column in Grid at runtime
body: <p>I have a trouble about hiding columns in a Grid at runtime.</p>
  
  <p>In a project I use a function that returns the configuration of a column in a Grid.
  For take the list of my columns in the Grid I use this piece of code:</p>
  
  <blockquote>
    <p>var cmV = cmpGrid.getView();
    var cmH = cmV.getHeaderCt();
    var cm = cmH.getGridColumns();</p>
  </blockquote>
  
  <p>The variable "cm" returns an array with the configured columns in the grid.</p>
  
  <p>When I manually hide a column with the "column" option in the header Grid  with ExtJS version 3.4.1 I can get the property</p>
  
  <blockquote>
    <p><code>hidden:true</code></p>
  </blockquote>
  
  <p>for the configured column.
  But with ExtJS 6 the configured column doesn't include this property.</p>
  
  <p>How I can  resolve this issue?</p>
  
  <p>Thanks at all in advance,
  Lorenzo.</p>
  
  <p>**</p>
  
  <h2>UPDATE</h2>
  
  <p>**
  I have discovered this about my previous question.
  With</p>
  
  <blockquote>
    <p>var cm = cmH.getGridColumns();</p>
  </blockquote>
  
  <p>I can get the array of the columns in the grid.
  Analyzing this array with Firebug I had found the subarray "config" that contains the properties required by the columns for the configuration.
  However now this array doesn't reflect more the changed configuration of a column but the default configuration applied.
  My first question is if this new behavior is a bug or not.
  Because I have found this new behavior I have changed my code to get the properties of a column not from the subarray config but from the radix. However now the possible configurations are so much.
  Now my second question is if there is a way to reduce or to have only the principal properties for type of columns in a grid.</p>