Need a revised tutorial for DHTMLX Grid


#1

Hello Everyone,
I’m working on an ASP.NET MVC Project. I’ve to use DHTMLX Grid in my project My Seniors gave me this blog for reference https://dhtmlx.com/blog/how-to-use-dhtmlxgrid-with-asp-net-mvc/ but things mentioned in this blog is outdated gives me parser error if I try to replicate. Could anyone share with me the latest documentation or tutorials of DHTMLX Grid that must integrate with aspx pages. Thanks for the Reply


#2

Unfortunately, there is no guide or a tutorial for the dhtmlxGrid 7 usage with the ASP.NET, as there is no dhtmlxConnectors or some specific data format in the dhx.Grid.
dhx.Grid uses the dataCollection helper to operate with the dataset:
https://docs.dhtmlx.com/suite/data_collection/index/
which uses a common JSON format for the data. So, the dhx.Grid supports RESTful API, and can deal with any backend. All you need is just to populate a valid JSON on your side, and then you can populate it to the grid using the load() method:
https://docs.dhtmlx.com/suite/data_collection/api/datacollection_load_method/
also, you are able to save all the data changes to your backend using the save() method:
https://docs.dhtmlx.com/suite/data_collection/api/datacollection_save_method/