Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
How to set Header Row Height after Binding
posted

Hello,

    I'm trying to set the height of the column headers through code, however, it appears that Me.myUltraGrid.DisplayLayout.Bands(0).Header.Height is a read only property at runtime. I've looked through the UG designer for the property but it appears that band and column settings aren't available until a datascheme has been specified (which isn't set until runtime). So, after binding to a dataset the column header text appears on 3 lines and is partially cut off on the 1st and 3rd lines of text, all I need to do is add a few more pixels to the column header height but am unable to do so ( due to the ReadOnly Me.myUltraGrid.DisplayLayout.Bands(0).Header.Height). Anyone have any ideas?

Thank you,

-Derek