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
1825
WinGrid and Column sizing?
posted

I have a need to have all columns in the grid resized to whatever the max length of the row values is.

Hope that makes sense.

Basically I want each column expanded to whatever row value is the max fro that column.

Like when you manually double-click on the grid columns heading ending edge.

Kinda of like: .DisplayLayout.Rows.ExpandAll(True)

But for columns: .DisplayLayout.Columns.ExpandAll(True)

Is there any way to do that?

Deasun