Hello BJ,
Assuming that your drop downs are represented by XAF Actions, you can handle their Execute events and in their handlers access the ListView.CollectionSource to filter it as you require.
This approach is detailed in our documentation.
I hope you find this information helpful.
Hello Dennis,
I solved this problem by making another activity listview and some changing of the source code.
The followings are the core change of the SchedulerActivityListViewController.cs source code.
if (View.Id == "Activity_ListView")
{
// --------- If the TargetView is Original Activity Listview, My group members Schedule will be displayed -------
// --------- This ListView cannot be Added, Deleted, Updated but only Viewed
criteria = CriteriaOperator.Parse("[Groups][[Employees][[Oid] = CurrentUserId()]]");
}
else
{
// --------- If the TargetView is Annother Activity Listview, Only My Schedule will be displayed -------
// --------- This ListView can be Added, Deleted, Updated and also Viewed
criteria = CriteriaOperator.Parse("Oid = ?", SecuritySystem.CurrentUserId);
}
Thank you and have a nice day
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+