BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Old Forums (read only)
 BCGControlBar Standard Edition General Discussion
 Auto resize for columns
 Forum Locked
Author Previous Topic Topic Next Topic  

robdiaz2

22 Posts

Posted - 01/17/2011 :  2:12:13 PM  Show Profile
Hi,
I'm trying to find a way to have the grid control automatically resize its columns to fit the data in them. I'd like this to be automatic, but if nothing else I'd like it to be handled when double-clicking the column header divider . I know I can override OnHeaderDividerDblClick to handle when the divider is double-clicked, but I still haven't found a way to determine what the correct width is to display the data. Is there a sample of this somewhere that I can look at?

Thanks.
  Previous Topic Topic Next Topic  
 Forum Locked
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000