Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6697 | Aug 22,2003 12:52 PM UTC | Aug 29,2003 12:48 PM UTC | WinForms | 4 |
![]() |
Tags: GridControl |
theFilterBar.WireGrid(this.gridDataBoundGrid1);
and replace it with this code.
GridStyleInfo style = new GridStyleInfo();
style.ModifyStyle(this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo, StyleModifyType.Copy);
style.CellType = "ComboBox";
style.ExclusiveChoiceList = true;
style.BaseStyle = "Standard";
style.Font.Bold = false;
style.BackColor = this.gridDataBoundGrid1.TableStyle.BackColor;
style.Borders.Bottom = new GridBorder(GridBorderStyle.Dashed);
style.DropDownStyle = GridDropDownStyle.AutoComplete;
theFilterBar.WireGrid(this.gridDataBoundGrid1, style);
This adds the DropDownStyle = AutoComplete setting to the default combobox. 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.