views:

159

answers:

0

Hi all, in selenium I am filling a dataTable with 2 columns with some extracted data from the browser. After it is filled I am displaying it in windows form through datagrip.

Everything is fine but I want to force the datagrip to change width of columns automatically depending of the length of strings in dataTable. For example if the string in the table has 250 chars I want to display the whole string in my windows form, not only a part with a scroll bar.

Is it possible to do it automatically or just via setting in form properties mannually. Thank you for any advice.