private void RadGridView_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.AvailableOperators.Contains(FilterOperator.Contains)) { e.DefaultOperator = FilterOperator.Contains; } }
private void RadGridView_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.AvailableOperators.Contains(FilterOperator.Contains)) { e.DefaultOperator = FilterOperator.Contains; } }
private void RadGridView_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.AvailableOperators.Contains(FilterOperator.Contains)) { e.DefaultOperator1 = FilterOperator.Contains; } else if (e.AvailableOperators.Contains(FilterOperator.IsLessThanOrEqualTo)) { e.DefaultOperator1 = FilterOperator.IsLessThanOrEqualTo; } }
private void RadGridView_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.AvailableOperators.Contains(FilterOperator.Contains)) { e.DefaultOperator1 = FilterOperator.Contains; } else if (e.AvailableOperators.Contains(FilterOperator.IsLessThanOrEqualTo)) { e.DefaultOperator1 = FilterOperator.IsLessThanOrEqualTo; } }
private void OnFilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.Column is CollectionPropertyColumn) { foreach (var op in e.AvailableOperators.ToList()) { if (!(op == FilterOperator.Contains || op == FilterOperator.DoesNotContain)) { e.AvailableOperators.Remove(op); } } e.DefaultOperator1 = FilterOperator.Contains; } }
private void OnFilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { if (e.Column is CollectionPropertyColumn) { foreach (var op in e.AvailableOperators.ToList()) { if (!(op == FilterOperator.Contains || op == FilterOperator.DoesNotContain)) { e.AvailableOperators.Remove(op); } } e.DefaultOperator1 = FilterOperator.Contains; } }
private void DataFilter_OnFilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNull); e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotNull); }
private void StcDocumentHeaderRadGridView_FilterOperatorsLoading(object sender, FilterOperatorsLoadingEventArgs e) { e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.IsEqualTo; e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsContainedIn); e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotContainedIn); }