Display column data from a List/Array of data from the model

1 Answer 93 Views
TreeList
Mikail
Top achievements
Rank 1
Mikail asked on 26 Sep 2023, 12:05 PM

Hello, i was wondering if it is possible to bind and display data in a column from a List/Array of data like this:

public record Item
{
    public string Name { get; set; }
    public List<int> CostsAtMonths  { get; set; } = new();
    public int[] CostsAtMonths { get; set; }
}

Then have it displayed in in a TreeList with a column for each month of the year, where each column points to an item of the list/place in an array like this:

1 Answer, 1 is accepted

Sort by
0
Nadezhda Tacheva
Telerik team
answered on 28 Sep 2023, 12:36 PM

Hi Mikail,

I already responded to your private ticket which is a duplicate of the current one. I am pasting my response here as well for visibility.

Based on the screenshot, I personally think that a more suitable component for such a data visualization structure is the PivotGrid that we recently released: https://demos.telerik.com/blazor-ui/pivotgrid/overview.

This component is generally used to represent multidimensional data in a cross-tabular format. Plus, it also supports scrolling, sorting and filtering.

Can you please revise it and let me know your thoughts? You can find the documentation here: https://docs.telerik.com/blazor-ui/components/pivotgrid/overview.

Please let me know if any questions appear while evaluating it. You can post your response in either the private ticket or this forum thread.

Regards,
Nadezhda Tacheva
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
TreeList
Asked by
Mikail
Top achievements
Rank 1
Answers by
Nadezhda Tacheva
Telerik team
Share this question
or