Exemplo n.º 1
0
        public GridColumn(Expression <Func <T, object> > expression) : base(expression)
        {
            IsSortable   = true;
            IsFilterable = true;

            _formatterStrategy = this;
        }
Exemplo n.º 2
0
 public GridColumn <T> TimeAgo()
 {
     _formatterStrategy = new TimeAgoStrategy(Accessor);
     modifyColumnModel  = dict => dict.Add("formatter", "timeAgo");
     return(this);
 }