This commit is contained in:
@@ -50,9 +50,9 @@ namespace AyaNova.DataList
|
||||
listOptions.SortBy = new Dictionary<string, string>();
|
||||
|
||||
//Check Columns
|
||||
if (listOptions is DataListTableOptions)
|
||||
if (listOptions is DataListTableProcessingOptions)
|
||||
{
|
||||
var dlto = ((DataListTableOptions)listOptions);
|
||||
var dlto = ((DataListTableProcessingOptions)listOptions);
|
||||
if (dlto.Columns == null)
|
||||
dlto.Columns = new List<string>();
|
||||
//if this doesn't work then just ditch this method in favor of local code, it's not really saving much
|
||||
|
||||
Reference in New Issue
Block a user