public override string ToString()
 {
     var noColumnFilter = new FilterDef(null);
     this["bUseColVis"] = _vm.ColVis;
     this["aoColumns"] = _vm.Columns
         //.Where(c => c.Visible || c.Filter["sSelector"] != null)
         .Select(c => c.Searchable?c.Filter:noColumnFilter).ToArray();
     return new JavaScriptSerializer().Serialize(this);
 }
        public override string ToString()
        {
            var noColumnFilter = new FilterDef(null);

            this["aoColumns"] = _vm.Columns
                                //.Where(c => c.Visible || c.Filter["sSelector"] != null)
                                .Select(c => c.Searchable?c.Filter:noColumnFilter).ToArray();
            return(new JavaScriptSerializer().Serialize(this));
        }
예제 #3
0
 protected internal ColDef(Type type)
 {
     Type   = type;
     Filter = new FilterDef(Type);
 }
예제 #4
0
 protected internal ColDef(Type type)
 {
     Type = type;
     Filter = new FilterDef(Type);
 }