Dear AllI am very new with Syncfusion and I am struggeling a little to get data displayed in may grid.I request the data from an API call[Route("api/main")]public ListGET_INDB_PNR_MASTER() {Database.DB myMainData = new Database.DB();return myMainData.GET_INDB_PNR_MASTER();}If I check with POSTMAN I got this data back[{"phonenumber": "1234567890","pnr_typ": "FIXNET","pnr_state": "FREE","pnr_group": "1002","pnr_group_range": "1000001","pnr_group_range_title": "Reserved","coupled_phonenumber": "11111111111","manual_reserved_state": "N","manual_reserved_end": "","manual_reserved_title": "","user_title": "","user_description": "","user_go_ma_id": "","user_source_sys_title": ""},{"phonenumber": "0123456789","pnr_typ": "FIXNET",........................This is how my ASP Site will lookThe grid will be shown, but without having data in it.What will I do wrong?Thanks for helpingMartin
[controller.cs]
public object Get()
{
var queryString = HttpContext.Current.Request.QueryString;
var data = da.Orders.ToList();
return new { Items = data, Count = data.Count() };
} |