Column width, again

OK, about autofitMerged: I have a frequent need to merge two or more cells to make a category header float above column headers. And add the complication that depending on user-selected options, the category header may be above only one column, not two or more. From what you wrote in the documentation, it is not clear to me how to achieve what I want. If columns 11 and 12 are both present, and each is too narrow by itself to contain the category header, but the combined width is sufficient, then I do not want the category header to contribute to the autofit. However, if only either column 11 or 12 is present, then it will need to be wide enough to contain the category header.


Further, if I am understanding correctly the parameters used, then to effectively use minWidth, I will need to set minWidth small on the first call, but negative on subsequent calls on the same page, so that I can call AutoFitCol on a rectangular block of sells and get it to either make no change or to only increase width. Is that correct?