Add a grid column to master from detail

I have a master / detail page
I want to display in a new cell to master grid the number of detail records of every master record

This will affect severely the performance since at the moment details are retrieved only when you select a record:

In the next version of Radzen you will be able to do it like this:

  1. Expand child data on Page Load event:

  2. Just set the master record on master DataGrid RowSelect:

  3. Bind the child grid to master record child collection:

  4. Add a column with following Template @(data.OrderDetails?.Count()):

  5. Run the application: