Home Forums WinForms controls Xceed Grid for WinForms Force databinding without displaying Reply To: Force databinding without displaying

User (Old forums)
Member
Post count: 23064

For those who also need this: I got the solution from the great guys at Xceed technical support: setting the <b>BindingContext</b> of the grid to a new BindingContext will force the actual creating of the columns and rows.
<code>Xceed.Grid.GridControl myGrid;

myGrid.<b>BindingContext</b> = new <b>BindingContext</b>();</code>

Imported from legacy forums. Posted by Tommy (had 2892 views)