Example #1
0
 public Grid(IHtmlHelper <T> htmlHelper) : base(htmlHelper)
 {
     _name   = "A" + (new Random().Next().ToString());
     _events = new GridEvents <T>(htmlHelper);
 }
Example #2
0
 public Grid(IHtmlHelper <T> htmlHelper, IEnumerable <T> model) : base(htmlHelper)
 {
     _model  = model;
     _name   = "A" + (new Random().Next().ToString());
     _events = new GridEvents <T>(htmlHelper);
 }