After receiving the expected solution, the task received a new direction. It is necessary to make this solution applicable in different materials. For example, I have now been given the task of making one instance for a page with a list of company personnel. And the second for the task list.
I’m still sorting it out .... Is it possible to create a separate “template” for presenting a list that I will use for specific material. and my working script will be involved in it. How difficult is it?