CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

IWCGJQGrid and retrieve JSon data

by stephane » 17 Dec 2018 18:09

Hi ,

i try to retrieve JSon data with IWCGJQGrid but i don't succeed. Is there any sample with this component to show how to do that ? I follow the description about the json format expected by the IWCGJQGrid
Code: Select all
IWCGJQGrid1.JQGridOptions.DataType := gdtJson
:
{"total":1,"page":1,"records":49,"rows":[{"id":1,"cell":["Grille","Spot","X","Y"]}, ,{"id":2,"cell":["A","1","0","0"]}, ....]} which is reachable via a specific url :
Code: Select all
IWCGJQGrid1.JQGridOptions.Url := 'http://localhost:8080/ExcelToJson?filename=proj_test_1.xls';


i have a error message when i run the program : 'Grid Provider not assigned'. Is it always necessary to link a JQGridProvider to the IWCGJQGrid ? If yes, what kind of provider to choose and what i have to do to retrieve the json data above inside the grid.

thanks a lot
stephane
 
Posts: 13
Joined: 05 Dec 2018 11:59

Return to JQGrid

Who is online

Users browsing this forum: No registered users and 10 guests

Contact Us.