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.
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 Developer6763.grid-net6-sample.zip
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.
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 IvanovaEntry Level Software Developer
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.
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 Developer7317.DataTable Binding.zip