Ideas

Highlight default group in group viewer based on group order

Highlight default group in group viewer based on group order

Group

When opening the group viewer it highlights and opens the first group based upon alphabetical order. The first group in order on our main group viewer page was Archive, but because it wasn't important to see it first I set the order to drop it down to the bottom. Because it starts with "A" it still gets highlighted when the page gets opened.

It's been renamed to Ye Olde Archive for now, and I've renamed groups on other Group Viewer pages to have the first one defaulted to, but it would be nice to have it sort by order then name like the display order does.

Changing line 551 in GroupTreeView.ascx.cs to the following should do it

foreach ( var group in qry.OrderBy( g => g.Order ).ThenBy(g => g.Name) )

Photo of Bob BrownSubmitted by Bob Brown, Christ's Church in Jacksonville, FL  ·   ·  Group
Login to add a comment...

Submission Success Tips

Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.

  • Clear Title: Craft a straightforward and descriptive title that instantly conveys the essence of your idea.
  • Concise Description: Provide an idea description that is succinct, ensuring it effectively communicates the concept without unnecessary verbosity.
  • Provide Additional Details: With a concise description complete, now provide any other details that are needed to better understand the requirements.
  • Thorough Ministry Need Review: Provide a comprehensive overview of the ministry need your idea addresses, emphasizing its significance.
  • Cover the WHY: Clearly articulate the rationale behind your idea, explaining why it's essential and how it aligns with the organization's goals and mission. Oftentimes a clear "why" sheds light into other possible options.