I have the following GridColumn defined:
new GridColumn{
Visible = true,
FieldName = "blah",
Name = "blah",
ColumnEdit = new RepositoryItemGridLookUpEdit{
DisplayMember = "Name",
ValueMember = "Id",
DataSource = ViewModel.Components
}
}
This works fine and changes the editor of my blah
column to a the correct editor, but it also has an unwanted side-effect of changing the AutoFilterRow
editor for that column to that same GridLookUpEdit
. I want the filter to be just a regular text edit field. How can I achieve this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…