Ejemplo n.º 1
0
 public IEnumerable <string> GetQuickSearchColumnTitleList()
 {
     return(ColumnSetting.JsonToDictionaryList().Where(a => !string.IsNullOrEmpty(a.GetValue("quickSearch")) && a.GetValue("quickSearch").ToLower() == "true")
            .Select(a => a.GetValue("title")));
 }
Ejemplo n.º 2
0
 public IEnumerable <Dictionary <string, object> > GetColumnList()
 {
     return(ColumnSetting.JsonToDictionaryList().OrderBy(a => Convert.ToInt32(
                                                             string.IsNullOrEmpty(a.GetValue("OrderIndex")) ? 0 : Convert.ToInt32(a.GetValue("OrderIndex")))
                                                         ));
 }