Created
June 23, 2012 13:55
-
-
Save rockhymas/2978364 to your computer and use it in GitHub Desktop.
ResizeGridColumns alt1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tableStyle.GridColumnStyles[0].Width = dataGrid.ClientSize.Width / 2; | |
tableStyle.GridColumnStyles[1].Width = dataGrid.ClientSize.Width - tableStyle.GridColumnStyles[0].Width - verticalScrollBarWidth - 6; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment