This commit is contained in:
@@ -16,8 +16,8 @@ namespace AyaNova.DataList
|
|||||||
//Default ListView
|
//Default ListView
|
||||||
dynamic dlistView = new JArray();
|
dynamic dlistView = new JArray();
|
||||||
|
|
||||||
|
|
||||||
dynamic cm = new JObject();
|
dynamic cm = new JObject();
|
||||||
cm.fld = "notedate";
|
cm.fld = "notedate";
|
||||||
dlistView.Add(cm);
|
dlistView.Add(cm);
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ namespace AyaNova.DataList
|
|||||||
cm.fld = "notes";
|
cm.fld = "notes";
|
||||||
dlistView.Add(cm);
|
dlistView.Add(cm);
|
||||||
|
|
||||||
cm = new JObject();
|
cm = new JObject();
|
||||||
cm.fld = "username";
|
cm.fld = "username";
|
||||||
dlistView.Add(cm);
|
dlistView.Add(cm);
|
||||||
DefaultListView = dlistView.ToString(Newtonsoft.Json.Formatting.None);
|
DefaultListView = dlistView.ToString(Newtonsoft.Json.Formatting.None);
|
||||||
@@ -34,7 +34,7 @@ namespace AyaNova.DataList
|
|||||||
//NOTE: Due to the join, all the sql id and name fields that can conflict with the joined table need to be specified completely
|
//NOTE: Due to the join, all the sql id and name fields that can conflict with the joined table need to be specified completely
|
||||||
FieldDefinitions = new List<AyaDataListFieldDefinition>();
|
FieldDefinitions = new List<AyaDataListFieldDefinition>();
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "User",
|
TKey = "User",
|
||||||
FieldKey = "username",
|
FieldKey = "username",
|
||||||
@@ -42,7 +42,7 @@ namespace AyaNova.DataList
|
|||||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
SqlIdColumnName = "auser.id",
|
SqlIdColumnName = "auser.id",
|
||||||
SqlValueColumnName = "auser.name",
|
SqlValueColumnName = "auser.name",
|
||||||
IsRowId=true
|
IsRowId = true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@@ -64,6 +64,6 @@ namespace AyaNova.DataList
|
|||||||
UiFieldDataType = (int)UiFieldDataType.DateTime,
|
UiFieldDataType = (int)UiFieldDataType.DateTime,
|
||||||
SqlValueColumnName = "acustomernote.notedate"
|
SqlValueColumnName = "acustomernote.notedate"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}//eoc
|
}//eoc
|
||||||
}//eons
|
}//eons
|
||||||
Reference in New Issue
Block a user