![]() |
|
GTP.NET FAQ 11123I want to extend the grid columns so that they always fill the space in grid Please note that this article
refers to the GTP.NET Jump to article- 2008-01-31 10:25:00 - Email plexityHide Question
How can I automatically extend the grid column to use up all the space in the grid?
Answer
Implement the Grid.Resize event and do something like this:
void Grid_Resize(object sender, EventArgs e) { if (gantt1.Grid.Columns.SumWidth()<gantt1.Grid.Width) { gantt1.Grid.Columns.FirstVisibleColumn().Width+=gantt1.Grid.Width-gantt1.Grid.Columns.SumWidth(); } }
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |