Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

MudTable with custom rows

$
0
0

I wanted a MudTable where the Sublist appear in the same row as the parent row. enter image description here

 public class Element    {              public string FileName { get; set; } = string.Empty;     public string FileDescription { get; set; } = string.Empty;     public string CreatedDate { get; set; } = string.Empty;     public List<ElementFile> ElementFiles { get; set; } = new();   }          public class ElementFile     {        public string Path{ get; set; } = string.Empty;        public string Name { get; set; } = string.Empty;        public DateTime Modified { get; set;}    }

I added a working sample.

https://try.mudblazor.com/snippet/mOQzaPvLzIeCNnPs


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>