I have a problem. I created the following class:
public class OrderBundles
{
public int Id { get; set; }
public NumOfTrades { get; set; }
public List<Trade> Trades { get; set; }
}
public class Trade
{
public int Id { get; set; }
public string Date { get; set; }
public string Action { get; set; }
public string Coin { get; set; }
public decimal Price { get; set; }
public string ProfitUSDT { get; set; }
}
Now the bundles are working as follows: A bundle contains a SellOrder at first and then all Buy orders that are connected to a Sell.
Using that I want to create the following:
Now I already created a CollectionView
with a ViewModel
attached to it, but the problem then is, how can I loop inside the CollectionView row through the other list, so I can use the RowSpan?
Any ideas?