0 Replies Latest reply on Jun 18, 2008 11:24 AM by MichaelH_KMBS

    Resize Column Heading Dynamically

      I have an AdvancedDataGrid for which the user can separately and independently set the font size used in the column headings and the rows. Upon saving the form, if the font size used in the rows changes, I call the function setRowFont() (shown below).

      The regenerateStyleCache(true) causes the rows to dynamically adjust their height to accommodate the text. (The groupRowHeight is there to adjust the size of the data groupings.) This works just fine.

      I use a similar function for the headings, setColumnHeadingFont(). When this is run, there is no change. If you close the app and restart it, the changes are reflected. Is there some way to change this height dynamically without restarting? Or is there a reason why this cannot be done?