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

Need help with dynamic grid

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
neet-o
Top achievements
Rank 1
neet-o asked on 08 Jun 2017, 09:10 AM
Hi, I'm using ASP.NET Core MVC and there's the following problem at hand:
Got 3 tables in my database:
1) Customers (Id, Type, ...)
2) Processes (Id, Name, ...)
3) CustomerProcessValues

The grid that will look like this:
Customer            Process 1   Process 2          Process 3     ....     Process N
TestCustomer     123             2345                   4567                      513
TestCustomer2    4656          0                         123                        2

Grid needs to be editable inline and save values (int) for each process for each customer to CustomerProcessValues table.
Process list will be the "Process" database table filtered by a certain value and based on a customer type.

At this point I'm not quite sure where to start as I've never dealt with any dynamic grids before.
Would really appreciate any advice on how to begin.

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 12 Jun 2017, 06:26 AM
Hello Igor,

If you can build a DataTable in the backend with the combination of data that you need to display, you can bind your Grid to it, like explained here:
Bind the Grid to DataTable

This approach supports data editing, so you should b able to achieve your goal in this way.

Regards,
Tsvetina
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
neet-o
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or