This commit is contained in:
@@ -67,7 +67,7 @@ namespace AyaNova.DataList
|
||||
}
|
||||
|
||||
public Newtonsoft.Json.Linq.JArray GenerateReturnListColumns(List<string> columns)
|
||||
{
|
||||
{
|
||||
var CustomFieldDefinitions = GetCustomFieldDefinitionsForList();
|
||||
|
||||
//Generate JSON fragment to return with column definitions
|
||||
@@ -133,10 +133,15 @@ namespace AyaNova.DataList
|
||||
//Not Sortable?
|
||||
if (!o.IsSortable)
|
||||
sb.Append($",\"ns\":1");
|
||||
|
||||
//Not Filterable?
|
||||
if (!o.IsFilterable)
|
||||
sb.Append($",\"nf\":1");
|
||||
|
||||
//translate required?
|
||||
if (o.Translate)
|
||||
sb.Append($",\"tra\":1");
|
||||
|
||||
|
||||
sb.Append("}");
|
||||
FirstColumnAdded = true;
|
||||
|
||||
Reference in New Issue
Block a user