Font Size:
Ask Joget AI

How to Detect When List Is Used as Nested List Formatter

Introduction

Detecting when a List is used as a nested formatter is essential for managing dynamic data displays and permissions. This guide explains how to identify if a List is being used in this context, allowing you to apply specific logic or permissions based on its usage.

How does it work?

  1. To determine if a List is used as a nested List formatter, start by adding a parameter (e.g., nestedList) with a value (e.g., 1) to the main List.
  2. When the List is displayed as nested, utilize the extra parameter to check its state. For instance, use the following code in a Permission setting or another relevant context to verify the nested List mode:
    return ("#requestParam.nestedList#".equalsIgnoreCase("1"));
    Markup
    Copy


    This code returns true if the List is in Nested List mode.

  3. Set the all filter to Hidden.

 

Expected Outcome

The Filter in the view should be hidden after the link is appended to ?nestedList=1.

Download Sample App

Download the demo app for How to Detect When List Is Used as Nested List Formatter:

 

Created by Aadrian Last modified by Siti Noratiqah on May 22, 2026