Hi
I'm getting horribly frustrated trying to get an igGrid up and running properly in my MVC Core app. I've managed to get the data displaying and the control to go into edit mode, but now the text is showing white when the cell get's the focus and the changes aren't being posted back to the controller, but neither are there any error messages in the console.
Do you have an example MVC Core project that demonstrates loading and updating of data and posting those updates back to a controller? As far as I can see neither the main grid updating docs or the MVC grid docs actually cover the posting back part?
Also, the basic editing page on your website is 404'ing: https://www.igniteui.com/grid/basic-editing
Hello redox,
Thank you for posting in our forum.
Have you had the chance to take a look at the following topic from our documentation that describes the MVC 5 implementation for sending and persisting the changes to the server:
https://www.igniteui.com/help/iggrid-updating#batch
The ASP.Net Core implementation is very similar.
I’ve also attached a sample with ASP.Net Core for your reference.
Please refer to it and let me know if you have any questions or concerns.
Also regarding the MVC sample you’ve referenced. We’re aware of the issue and are working to fix it.
Let me know if there’s anything else I can help you with.
Best Regards,
Maya Kirova
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Maya
thanks very much for that, I'd completely missed the UpdatingSaveChanges() listing on that page when I posted originally.
I had a lot of trouble getting the javascript registering properly initially. I see in your example you're just referencing the CDN for the JS and CSS, which is what I ended up doing too. The documentation talks about using the loader, should I be trying to get that working or is the CDN a reasonable approach for production?
Thanks
Tom
Hello Tom,
We use trial CDN links for 2 reasons: smaller sample size and demonstration purposes.
CDN is reasonable approach if you have geographically distributed application. Keep in mind that we have a licensed CDN links which you can see in on our infragistics.com web site under My Keys and Downloads (Source Code tab).
In most cases you'll be happy to include the infragistics.core.js, infragistics.lob.js in your project and reference them from there. Loader is an alternative to the combined files which will give you smaller network traffic, because it will load only the controls that you use in your page.
Best regards,Martin PavlovInfragistics, Inc.