VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Adjust DataGrids Column Width Based on Longest Field in Underlying Source

Masino Sinaga  (7 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

When you display data from a database to a DataGrid, you will see that DataGrid's columns width cannot adjust to the longest data in the field. I made one procedure that can fix the problem.
This procedure will adjust DataGrids column width
based on longest field in underlying source. Enjoy!!!

Assumes
When you display data from a database to a DataGrid, you will see that DataGrid's columns width cannot adjust to the longest data in the field. This following procedure can fix the problem.

Rate Adjust DataGrids Column Width Based on Longest Field in Underlying Source (9(9 Vote))

Download Adjust DataGrids Column Width Based on Longest Field in Underlying Source

Adjust DataGrids Column Width Based on Longest Field in Underlying Source Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters