Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
8999 | Dec 2,2003 11:27 AM UTC | Dec 2,2003 12:00 PM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
private void comboBoxExt1_DropDown(object sender, System.EventArgs e) { this.comboBoxExt1.PopupContainer.Width = 1200; }Or, are you trying to change the colwidth of a column in the GridListControl. If so, you would have to handle the QueryColWidth event on the embedded Grid.
this.gridListControl1.Grid.QueryColWidth += new GridRowColSizeEventHandler(grid_QueryColWidth);
void grid_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{ //size col 2
if(e.Index == 2)
{
e.Size = 400;
e.Handled = true;
}
}
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.