Hi everyone,
Please i want to add igGrid to my Index(cshtml) page (I work with Asp.Net MVC).
How can i do it? even if i'm following this example step by step but something is rong !!!
https://www.igniteui.com/help/iggrid-overview
thanks for any helpful informations.
Hello Na Oumi,
Thank you for posting in our forum.
This help topic provides a detailed explanation on how to use the Ignite UI MVC Helpers and configure the igGrid in an MVC application:
https://www.igniteui.com/help/iggrid-developing-asp-net-mvc-applications-with-iggrid
There are two possible syntax variations that could be used when declaring the igGrid in an MVC scenario:
Both of these approaches would result in the same JavaScript output at the end.
Here is a code sample that declares a simple igGrid in the View by using the Chaining syntax:
GridSampleMVC.zip
If you need any additional assistance, feel free to contact me.
Thank you for your answer and your time,
I'm trying your example right now,
Thank you again.
I am glad that you find my answer helpful.
Feel free to contact me if you have any additional questions regarding this matter.
What kind of error message do you get when trying to run the code?
If possible, please provide the error stack-trace and the grid initialization configuration, or the whole sample?
Also, did you try running the MVC sample I sent you? It has an igGrid with a simple configuration for demonstration purposes.