Many To Many relations in hierarchal datagrid

Is there some example(s) for the many to many relations in a SQL server solution with the hierarchal data grid?

This DataGrid hierarchical demo is actually many-to-many (Orders -> Products with junction table OrderDetails):

Hi that's true, but the references table is the orders table with some details, that,s i do not have.
In Net 5.0 there's the option to make just a table with only the references.

Teams

  • list() teamPlayers
  • string TeamName
  • int Id

Teamplayers

  • list() teams
  • string TeamPlayerName
  • int Id

Net 5 makes one extra table table:
TeamsTeamplayers

  • teamId
  • teamPlayerId

I want to display the TeamPlayers in the teams datagrid and add them.