I have a somewhat related question, so instead of creating a new topic, I will append my question to this one. If you would prefer I create another topic, I can do that instead.
In my application, I want the headers to be able to autosize the height and width programmatically, and for the most part, this works fine for me. However, i do not want the user to be able to change the widths afterwards. If I disable the ability for the user to resize the columns, then the autosize function doesn't do what it's supposed to either.
I would think the autowidth method would ignore the allowsizing setting, since it is done programmatically instead of by the user, but it seems that is not the case. But since I am still in the process of learning how to use the features, maybe I am missing something.
The only other thing I can think of would be to enable resizing, run the autowidth method, and then disable the sizing again. I did actually try to get that to work, but did not have much luck. I didn't try all that hard tho, so maybe I can try a bit harder again if you can confirm that this technique should work.
Again, apologies if this should be its own topic.