Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Expand all groups not working in list reports - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Expand all groups not working in list reports
KB0783526

Expand all groups not working in list reports


744 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

  1. In list reports of New UI report designer , when the report is grouped by on any field , the expand all groups button doesn't work.
  2. Clicking the button does nothing and the customer cannot find the grouped results.
  3. The below error can be observed in the console of the browser.

===============================
GlideList2.get(element.getAttribute('data-list_id')).toggleGroups();
evt.stop();
});

Uncaught TypeError: Cannot read property 'toggleGroups' of undefined
at HTMLBodyElement.<anonymous> (js_includes_listv2_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:2480)
at e.handleEvent (js_includes_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:14)
at HTMLBodyElement.<anonymous> (js_includes_doctype.jsx?v=09-05-2019_1536&lp=Wed_Jul_17_10_36_15_PDT_2019&c=25_443:14)
39VM1713 sys_report_template.do:1 Uncaught TypeError: Cannot read property 'toggleGroup' of undefined
at HTMLButtonElement.onclick (VM1713 sys_report_template.do:1)
2VM1725 sys_report_template.do:1 Uncaught TypeError: Cannot read property 'toggleGroup' of undefined
at HTMLButtonElement.onclick (VM1713 sys_report_template.do:1)
onclick @ VM1725 sys_report_template.do:1
==============================

Release

Any release.

Cause

  1. The UI script 'ConditionalFocus' needs to be checked as it could be inactive.
  2. Navigate to sys_ui_script.LIST and search for 'ConditionalFocus'.

Resolution

  • The script should be activated which will fix this behavior.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.