To set a column width, your datagrid must be using a non-null DataGridTableStyle. Once this is in place, you can set the column width by first
getting the tablestyle and then using that object to obtain a column style with which you can set the width. Here are some code snippets showing
how you might do this.
|