Suggestion on read only grid

Certified Senior Developer

Consider a scenario where we have two entities: Books and Chapters, with a one-to-many relationship (i.e., each book can have multiple chapters). I currently have a read-only grid that displays records based on the Book entity. One of the columns in this grid is called "Chapters", which displays all associated chapters in a bulleted list.

Since a book can have more than 10 chapters, I'm currently fetching all chapters into a local variable and indexing them based on the Book ID to display in the corresponding grid row.

This approach works fine for now. However, I'm concerned about performance if the chapter count increases more than 5000

Does anyone have suggestions on how to handle this scenario more efficiently?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Hi  . This is just a similar scenario I mentioned earlier. In my actual use case, the user will add multiple child records (possibly more than 10) while creating a new case. On the dashboard, we display a case grid, and the requirement is to show one of the related child records in a column of the case grid, along with an icon beside it to expand and view the full list of related records.

Children