This is a migrated thread and some comments may be shown as answers.

Create table with list field in class

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vlad
Top achievements
Rank 1
Vlad asked on 09 Mar 2021, 09:57 PM
Cpublic class TestGrid {
    public string col {get;set;}
    public string colFirst {get;set;}
    public List<Temp> temps {get;set;}
} public class Temp {
    public string Id {get;set;}
    public bool IsIt {get;set;}
    public bool DoesNeeded {get;set;}
}

 

How to make table with this class? 

I need like 

col, colFirst, temps1, temps2, temp3 etc

col, colFirst, temps1, temps2, temp3 etc

col, colFirst, temps1, temps2, temp3 etc

 

I need to filter it and create new objects. 

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 12 Mar 2021, 04:26 PM

Hi Vlad,

The Kendo UI Grid in UI for ASP.NET MVC is created with data based on a model.  Using the server-side wrappers, the Kendo UI Grid can be set to a specific configuration in the view and information is passed from/to the controller.  We have some first step documentation regarding how to create a Kendo UI Grid which can help you get a better understanding of how it can be implemented. 

Additionally, please feel free to take a look at our live demos for more information regarding different ways it can be configured for your needs.

Regards,
Patrick
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Vlad
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or