List in List

Overview

The "list in list" concept refers to a data structure where one or more lists are nested within another list. This is commonly known as a nested list. Nested lists enable efficient organization of data by grouping related items together. In an application environment, a nested list allows you to create a structured hierarchy of data, making it easier to manage and retrieve related information.

Real-Time Scenario

Consider a scenario where you need to manage geographical data efficiently. You can create a structured hierarchy using nested lists as follows:

  • Country List: A list that contains all the countries.

  • State List: A list that contains both Country and State. The Country field in this list is mapped to the Country List, ensuring each state is associated with its respective country.

  • City List: A list that contains Country, State, and City. The Country and State fields are mapped to the Country List and State List, respectively.

This structure allows filtering at different levels:

  • Selecting a Country filters the available States.

  • Selecting a State filters the available Cities.

For detailed steps on configuration, refer to the following topics.