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
800
Adjust row height when refreshing grid
posted

I have a question on how to let UltraWinGrid automatically adjust row height when the grid is refreshed. I have a grid that user can choose to display more data in one column. The grid can refresh correctly, but just the row height isn’t adjusted, some data got cut off.

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    Set the grid's DisplayLayout.Override.RowSizing property to "AutoFree" to resize each row to its largest contents.

    Depending on what you mean by "refreshed," you may also need to call the PerformAutoSize() method of an individual row.  The InitializeRow event is a good place to make this call if you don't have a better place to do it.

Children