private bool IsColumnFilterPropertyTypeString(RadzenDataGridColumn <object> column)
        {
            var property = column.GetFilterProperty();
            var itemType = Data != null?Data.AsQueryable().ElementType : typeof(object);

            var type = PropertyAccess.GetPropertyType(itemType, property);

            return(type == typeof(string));
        }
Exemple #2
0
 internal void RemoveColumn(RadzenDataGridColumn <TItem> column)
 {
     if (Grid.childColumns.Contains(column))
     {
         Grid.childColumns.Remove(column);
         if (!Grid.disposed)
         {
             try { InvokeAsync(StateHasChanged); } catch { }
         }
     }
 }