I am experiencing a problem with Infragistics 2009 Vol 1 and the UltraWebGrid control.
I need to change the headings of my columns depending on what data is being shown.
here is a snippet of my javascript code.
var thisGrid = igtbl_getGridById('UltraWebGrid1'); thisGrid.Bands[0].getColumnFromKey("Column1").setHeaderText("Quote Number");thisGrid.Bands[0].getColumnFromKey("Column1").setWidth(90);
The width of the column is altered but the heading is not.
I use this same line of code when changing the column headings of a grid within the WebCombo and it works.
Is there something I am missing?
Just like to add that this is a problem for me in 2010 volume 3. however, it only fails if the grid has rows...if no rows are in the grid, the header text changes correctly.
I am using the loadOnDemand option to change the rows of the grid...After each refresh in the AfterXmlHttp... event I want to update the header text...but yeah, only updates correctly if the grid has no rows.