This commit is contained in:
2021-01-29 22:03:48 +00:00
parent 3bc7aba2c2
commit bf55d43e37
4 changed files with 32 additions and 11 deletions

View File

@@ -32,7 +32,8 @@ namespace AyaNova.DataList
throw new System.UnauthorizedAccessException("User roles insufficient for this datalist");
//turn the DataListTableRequest into a
//turn the DataListTableRequest into a DataListTableProcesingOptions object here
DataListTableProcessingOptions dataListTableOptions = new DataListTableProcessingOptions(dataListTableRequest, DataList, ct);
DataList.SetListOptionDefaultsIfNecessary(dataListTableOptions);
@@ -261,7 +262,7 @@ namespace AyaNova.DataList
// if (string.IsNullOrWhiteSpace(listView))
// listView = DataList.DefaultListView;
DataList.ProcessRequest(dataListSelectionOptions);
DataList.SetListOptionDefaultsIfNecessary(dataListSelectionOptions);
// //parse the list view
// var ListViewArray = JArray.Parse(listView);