Hello,
Does any know how we do to connect external URL REST service to dhxGrid using dhxGrid.load method.
By example.
dhxGrid.load(my.server.rest/myObject);
Regards,
Hello,
Does any know how we do to connect external URL REST service to dhxGrid using dhxGrid.load method.
By example.
dhxGrid.load(my.server.rest/myObject);
Regards,
You may try to load your data directly with no doubts:
grid.load(“http://my.server.rest/myObject","json”); //your rest call (GET) as the url parameter of load method.
Or you may try to save the json to variable and use parse method for loading data from local objects:
var data = some;
grid.parse(data,“json”);
Thnx,
I’ll be try with your 2nd tip. So the first option is not avilable, i read into DHTLX store api and the URL must be on the same domain.
Regards,