Hi, I experience a strange refresh bug in my program. I have a sublassed DataGrid that has a TableStyle attached to it. At initialization time I set the PreffereRowHeight to 30. Then, at runtime I have a button that when pressed changes the value to 60. The code looks like this:

dg.TableStyle(0).PrefferedRowHeight = 60
dg.Refresh()

After this I even have a MsgBox that displays the value to be sure it was set. However the view doesn't refresh with the new row height UNLESS I press one of the column headers (that makes a quick sort on that column). Once I press the column the row height miraculously jumps to 60...

My question: what kind of refresh is the sort action performing that my code doesn't perform?

thank you,
iulian