Make Review Activity List Alphabetical
Best Answer
-
Nicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭Hey Rob,
I haven't attempted this one before, but have some ideas on it. I'm not entirely sure how the order is determined/rendered for that relationship behind-the-scenes, but its most likely based on either TimeAdded, ReviewerId, or one of the other properties here:
Since there isn't an ordinal that I am aware of, I think the change would have to be at the UI-level, not at the model/data-level. Fortunately, the Reviewers sit in a Kendo Grid, which does have sort functionality built in. To accomplish this, you could do the following:- We might have some examples floating around the Community that deal with finding an existing Kendo grid via JQuery, and changing values such as the sort/group/filter. The question has been asked before on the Kendo forms as well if you wanted to pull from those examples.
- The next challenge here would be identifying each specific reviewer grid, as there would be multiple if more-than-one Review Activity was present on the page. An example that loops through the activities can be found with the MA-Support-Group customization here.
I would think a combination of the looping in (2) and the hiding in (1) would do the trick.
Thanks,
Nick6
Answers
I haven't attempted this one before, but have some ideas on it. I'm not entirely sure how the order is determined/rendered for that relationship behind-the-scenes, but its most likely based on either TimeAdded, ReviewerId, or one of the other properties here:
Since there isn't an ordinal that I am aware of, I think the change would have to be at the UI-level, not at the model/data-level. Fortunately, the Reviewers sit in a Kendo Grid, which does have sort functionality built in. To accomplish this, you could do the following:
I would think a combination of the looping in (2) and the hiding in (1) would do the trick.
Thanks,
Nick