public _FilterOn(TTarget target, FilterRuleList list, Func <string, Type, bool> predicate, IDictionary <string, object> jsOptions)
 {
     _target    = target;
     _list      = list;
     _predicate = predicate;
     _jsOptions = jsOptions;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public _FilterOn(TTarget target, FilterRuleList list, Func <string, Type, bool> predicate)
 {
     _target    = target;
     _list      = list;
     _predicate = predicate;
 }