dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.58k stars 10.06k forks source link

Row expand on rows in Blazor QuickGrid #46356

Open akhanalcs opened 1 year ago

akhanalcs commented 1 year ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

Quickgrid is a great tool and we use it extensively at our company.

One thing that's sorely missing for us is the ability to expand row to show more information.

Let me explain more of what I mean. Let's say a grid shows a list of orders and I wanted to expand an individual order to see order details like what products are inside this order. Currently, I found no way to do this. For eg:

image

Describe the solution you'd like

Ability to expand data rows using some RowTemplate or something?

Additional context

For a complete example in some 3rd party component library, take a look at this: https://blazor.radzen.com/master-detail-hierarchy

Postlagerkarte commented 1 year ago

Support for Master/Detail data via a Detail-Template would be awesome. 🚀

<QuickGrid Items="@Data.People" MasterDetail="true">
        <PropertyColumn Property="@(c => c.PersonId)" Sortable="true"  />
        <PropertyColumn Property="@(c => c.FirstName)" Sortable="true" />
        <PropertyColumn Property="@(c => c.LastName)" Sortable="true" />
    <MasterDetailTemplate>
        <QuickGrid Items="@GetDetailRowData(context)">
          <PropertyColumn Property="@(c => c.OrderId)" Sortable="true"  />
          <PropertyColumn Property="@(c => c.OrderName)" Sortable="true" />
          <PropertyColumn Property="@(c => c.Price)" Sortable="true" />
       </QuickGrid>
   </MasterDetailTemplate>
</QuickGrid>
ghost commented 11 months ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

Laftek commented 6 months ago

Any update? This is must feature.

alexhowgego commented 4 weeks ago

Would love to see this feature. We're coming from BlazorTable, which does have support for this but now has a deprecation notice