This commit is contained in:
2021-02-06 00:15:37 +00:00
parent c5c3d5b830
commit 063ed5023a

View File

@@ -153,10 +153,12 @@ namespace AyaNova.DataList
//field key needed for sorting etc
sb.Append($",\"fk\":\"{o.FieldKey}\"");
//Sortable?
sb.Append($",\"srt\":\"{o.IsSortable}\"");
//Filterable?
sb.Append($",\"flt\":\"{o.IsFilterable}\"");
//Not Sortable?
if (!o.IsSortable)
sb.Append($",\"ns\":1");
//Not Filterable?
if (!o.IsFilterable)
sb.Append($",\"nf\":1");
sb.Append("}");