This commit is contained in:
2021-01-29 21:40:08 +00:00
parent 2e9c570272
commit 740323c67d
21 changed files with 55 additions and 40 deletions

View File

@@ -31,6 +31,9 @@ namespace AyaNova.DataList
if (!userRoles.HasAnyFlags(DataList.AllowedRoles))
throw new System.UnauthorizedAccessException("User roles insufficient for this datalist");
//turn the DataListTableRequest into a
DataList.SetListOptionDefaultsIfNecessary(dataListTableOptions);
@@ -258,7 +261,7 @@ namespace AyaNova.DataList
// if (string.IsNullOrWhiteSpace(listView))
// listView = DataList.DefaultListView;
DataList.SetListOptionDefaultsIfNecessary(dataListSelectionOptions);
DataList.ProcessRequest(dataListSelectionOptions);
// //parse the list view
// var ListViewArray = JArray.Parse(listView);