public void Filter(string columName, string[] values) { string filter = $"[{columName}] IN ({values.Select(x => $"'{x}'").Joined()})"; _filterClause.TryClearColumn(columName); _filterClause.AddFilterClause(filter); MagicToolbox.SetProperty(_view, nameof(_view.FilterString), _filterClause.Clause); }
public void CleanFilter(string headerName) { _filterClause.ClearColumn(headerName); MagicToolbox.SetProperty(_view, nameof(_view.FilterString), _filterClause.Clause); }