by Masino Sinaga (7 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)
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.
Download Adjust DataGrids Column Width Based on Longest Field in Underlying Source (16 KB)
No comments have been posted about Adjust DataGrids Column Width Based on Longest Field in Underlying Source. Why not be the first to post a comment about Adjust DataGrids Column Width Based on Longest Field in Underlying Source.