The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
[HttpGet] [Authorize] [Route("api/Customers")] public object Get([FromUri]AgTableParamsJson param) { CustomerRepository repository = new CustomerRepository(); try { var queryString = HttpContext.Current.Request.QueryString; int skip = Convert.ToInt32(queryString["$skip"]); int take = Convert.ToInt32(queryString["$top"]);
/// for test startRow = 0, endRow = 9, var p = repository.FindPagged(new AgTableParams { startRow = 0, endRow = 9, filterModel = new Dictionary<string, AgTableParamsDetalis>(), sortModel = new AgTableSortParams() }); // AgParams.initParams(param)); return new { Items = p.rows, Count = p.rowsCount }; //return Ok(p); } catch (Exception e) { return ResponseMessage(Request.CreateResponse(HttpStatusCode.BadRequest, "Wystąpił nieoczekiwany błąd")); } }
i get Json wher items and count is not empty, but ejGrid cant show my data.
JKJayaprakash Kamaraj Syncfusion Team March 22, 2016 09:36 AM UTC
Hi Piotr,
Thanks for contacting Syncfusion support.
We have created the sample with your code example. But, we were unable to reproduce the issue. please share the following information to find the cause of the issue.
1.Are you using any custom adaptor in your sample?