Skip to content

Infragistics Community Forum / Web / Ignite UI for ASP.NET Core / ASP.NET Core MVC Data table binding

ASP.NET Core MVC Data table binding

New Discussion
Rupamati Salunkhe
Rupamati Salunkhe asked on Aug 4, 2022 9:45 AM

Hi ,

We are trying to bind data table ignite grid for ASP.NET Core MVC but its not binding data and only spinning on screen.

Can anyone facing this with VS 2022 and Core 6.0.

Sign In to post a reply

Replies

  • 0
    Riva Ivanova
    Riva Ivanova answered on Jul 29, 2022 1:43 PM

    Hello Rupamati,

    Thank you for posting into our community!

    I have been looking into your question and have prepared a small sample trying to reproduce the described behavior. I am using an igGrid in an ASP.NET Core MVC project with .net6, however, on my side, everything works as expected and when running the project there is no spinning on the screen and the data is bound to the igGrid successfully.

    Additionally, since I am not aware of the overall configuration of your application, it would be extremely helpful if you could provide me with a sample that demonstrates the behavior on your side.

    Having a sample, which I can debug on my side, will be highly appreciated and extremely helpful in providing you with a solution as soon as possible.

    Attached could be found my sample for your reference. Please test it on your side and let me know how it behaves.

    Looking forward to your reply.

    Sincerely,Riva IvanovaEntry Level Software Developer

    • 0
      Rupamati Salunkhe
      Rupamati Salunkhe answered on Jul 30, 2022 2:55 PM

      Can you please full sample to bind data table to Ignite Gird with ASP.NET core MVC 6.0 Visual studio 2022

      Please provide full working  sample.

      • 0
        Riva Ivanova
        Riva Ivanova answered on Aug 1, 2022 12:49 PM

        Hello Rupamati,

        Thank you for providing me with a sample!

        I have modified my previous sample and configured it in a similar manner as the provided one in order to demonstrate how the igGrid can be bound to a DataTable object.

        On my side, everything works as expected and the data is bound successfully, however, after an investigation, I was able to reproduce the described behavior and determined that this is due to the AutoGenerateColumns property of the igGrid which is set to false. When the igGrid is defined in the View and a DataTable object is used as DataSource, the grid columns can only be auto-generated. Having this in mind, what I could suggest is setting the AutoGenerateColumns property to true and test whether the described behavior is still reproducible.

        Additionally, attached could be found the modified sample. Please test it on your side and let me know how it behaves.

        Sincerely,Riva IvanovaEntry Level Software Developer

        Attachments:
  • 0
    Rupamati Salunkhe
    Rupamati Salunkhe answered on Aug 3, 2022 6:52 PM

    Thank you for sample its worked for me , its so much relief ,

    Can you please tell me Batch Update possible for Data table and ignite UI grid.

  • 0
    Riva Ivanova
    Riva Ivanova answered on Aug 4, 2022 9:45 AM

    Hello Rupamati,

    I am glad that you find my suggestion helpful.

    After reviewing your second question what I could say is that according to our support policy we handle a single issue per forum thread and since the initial theme is regarding ASP.NET Core MVC DataTable binding, my suggestion is to create a separate thread with your new question. This is for better consistency and history tracking.

    Additionally, when creating a new thread, it would be great and extremely helpful if you could provide a small sample, which replicates your data structure, filled with some test records and the desired igGrid functionalities.

    Thank you for your cooperation.

    Regards,
    Riva Ivanova
    Entry Level Software Developer

    • You must be logged in to reply to this topic.
    Discussion created by
    Favorites
    Replies
    Created On
    Last Post
    Discussion created by
    Rupamati Salunkhe
    Favorites
    0
    Replies
    6
    Created On
    Aug 04, 2022
    Last Post
    3 years, 6 months ago

    Suggested Discussions

    Tags

    Created by

    Created on

    Aug 4, 2022 9:45 AM

    Last activity on

    Feb 20, 2026 11:59 AM