title: React - Antd - Show/Hide Columns in table
body: <p>I would like to resolve one problem.
  How can I show/hide columns in table using Ant Design in React?</p>
  <pre><code>export const columns = () =&gt; [
   {
     key: &quot;anyKeyOne&quot;,
     title: &quot;Title one&quot;,
     dataSource: &quot;AnyOne&quot;,
     hide: true
   },
   {
     key: &quot;anyKeyTwo&quot;,
     title: &quot;TitleTwo&quot;,
     dataSource: &quot;AnyTwo&quot;,
     hide: false
   }
  ]
  
  hideColumns = () =&gt; {
   // 
  }
  
  render() {
   return (
    &lt;div&gt;
     &lt;Table 
       dataSource={store.data}
       columns={this.hideColumns}
     /&gt;
    &lt;/div&gt;
   )
  }
  </code></pre>
  <p>Thank you for answers.</p>