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
340
row autosize based on single column
posted

I need to resize rows in a grid based on a single columns value.  The xRow.PerformAutoSize() method seems to be sizing rows based on the longest text in any column (even if not visible).  Is there a way to control this.

Example:

Column A has description

Column B has street address

I want to expand the row size to allow the entire Description to display on a row by row basis.  Rows where the Description is blank still resize with .performautosize because the street address does not fit in the cell.  I want to ignore the street address in this case.

Thanks in advance for any help or direction.

Parents Reply Children