public _FilterOn(TTarget target, FilterRuleList list, Func <string, Type, bool> predicate, IDictionary <string, object> jsOptions) { _target = target; _list = list; _predicate = predicate; _jsOptions = jsOptions; }
public DataTableVm(string id, string ajaxUrl, IEnumerable <Tuple <string, string, Type> > columns) { AjaxUrl = ajaxUrl; this.Id = id; this.Columns = columns; FilterTypeRules = new FilterRuleList(); FilterTypeRules.AddRange(StaticFilterTypeRules); this.ShowSearch = true; this.ShowPageSizes = true; this.TableTools = true; }
public _FilterOn(TTarget target, FilterRuleList list, Func <string, Type, bool> predicate) { _target = target; _list = list; _predicate = predicate; }