public Grid(IEnumerable <T> source) { Processors = new List <IGridProcessor <T> >(); Source = source.AsQueryable(); Columns = new GridColumns <T>(this); Rows = new GridRows <T>(this); }
public Grid(IEnumerable <T> source) { Source = source.AsQueryable(); Query = new NameValueCollection(); Attributes = new GridHtmlAttributes(); Processors = new HashSet <IGridProcessor <T> >(); Columns = new GridColumns <T>(this); Rows = new GridRows <T>(this); }
public Grid(IEnumerable <T> source) { Source = source.AsQueryable(); FilterMode = GridFilterMode.Excel; Mode = GridProcessingMode.Automatic; Attributes = new GridHtmlAttributes(); Processors = new HashSet <IGridProcessor <T> >(); Columns = new GridColumns <T>(this); Rows = new GridRows <T>(this); }
public Grid(IEnumerable <T> source) { Url = ""; Name = ""; FooterPartialViewName = ""; Source = source.AsQueryable(); FilterMode = GridFilterMode.Excel; Mode = GridProcessingMode.Automatic; Attributes = new GridHtmlAttributes(); Processors = new HashSet <IGridProcessor <T> >(); Columns = new GridColumns <T>(this); Rows = new GridRows <T>(this); Sort = new GridSort <T>(this); }