title: DataGridView ScrollBars are not working after Thread
body: <p>I'm setting a dataTable as data source of a datagridview. I do this on a new thread (I don't want my UI blocked while is loading data).
  My dilema is: the scrollbars are not working after the thread finishes. I tryed setting Scrollbars.None before load the data, and Scrollbars.Both after. Also tryed with Refresh. But only helped me to show the scrollbars, these still without working.</p>
  
  <p>If I use the same code in my principal, thread it works perfectly.</p>
  
  <p>so how can I do to make it work?</p>
  
  <p>My code:</p>
  
  <pre><code>private void PressKey(object sender, KeyPressEventArgs e)
      {
          var process = new Thread(this.LoadData);
          process.Start();
      }
  
  private void LoadData()
      {
          CheckForIllegalCrossThreadCalls = false;
          this.dgv.ScrollBars = ScrollBars.None;
          this.dgv.Columns.Clear();
          this.dgv.DataSource = MyDataTable;
          this.dgv.ScrollBars = ScrollBars.Both;
      }
  </code></pre>