I'm using setColumnHeader() to change a column header in the grid after it has been rendered. The header is changed to the new text but all of the splitters are moved to the left side of the header row. I worked around this by calling updateSplitters() after updating the header.

This is the code I'm currently using (it breaks if updateSplitters is not called):

Code:
function MapperGrid_onHeaderClick (g, columnIdx, e) {
   this.getColumnModel().setColumnHeader(columnIdx, "This is the new header");
   this.getView().updateSplitters();
}
This bug occurs in FireFox 2.0.0.3/Ubuntu 6.10. I have not checked other browsers yet.

Perhaps onHeaderChange should be modified to call updateSplitters (just a possibility, I haven't tested this):

Code:
--- GridView.js 2007-05-01 07:22:22.000000000 -0600
+++ GridView.js.new     2007-05-14 16:29:07.000000000 -0600
@@ -196,6 +196,7 @@
     },
     onHeaderChange : function(){
         this.updateHeaders.apply(this, arguments);
+        this.updateSplitters.apply(this, arguments);
     }, 
     onHiddenChange : function(){
         this.handleHiddenChange.apply(this, arguments);

Thanks,
Shane Corgatelli