Need help with dynamic grid

2 posts, 0 answers
  1. neet-o
    neet-o avatar
    9 posts
    Member since:
    Jun 2016

    Posted 08 Jun Link to this post

    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.
  2. Tsvetina
    Admin
    Tsvetina avatar
    2060 posts

    Posted 12 Jun Link to this post

    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.
Back to Top