Hi, right now we are using index property in our RadGridView. Since we use ItemsSourceBinding in GridViewComboBoxColumn I had to program a Custom Popup Filter to be able to search using text instead of id in the grid. Problem right now is that im using Filtering Mode: FilterRow. How can I redefine the control? I mean right now when I click the filter it show numeric operator. I need text and text operator and I need to be able to define my own custom logic, since data type of column mismatch input type. It would be nice also If the user would not be force to click on the filter to filter.
Popup Filter --> Translate Text to equals ID
private void ExecuteFilter(object parameter)
{
if (!Column.DataControl.FilterDescriptors.Contains(CompositeFilter))
{
IEnumerable<int> ids = LookupItemDtos.Where(l => l.Display.Contains(SearchField)).Select(l => (int)l.Id);
foreach (int id in ids)
{
FilterDescriptor filter = new FilterDescriptor(Property, FilterOperator.IsEqualTo, id);
CompositeFilter.FilterDescriptors.Add(filter);
}
Column.DataControl.FilterDescriptors.Add(CompositeFilter);
}
IsActive = true;
}