Object constructor
There are 2 ways of initializing DataStore and filling it with data:
1) To create and then fill with script:
var myDataStore = new dhtmlXDataStore();
myDataStore.parse([
{id:"1", name:"Accounts Department"},
{id:"2", name:"Customer Service"},
{id:"3", name:"Developing Department"}
]);
2) To specify the path to a data file in the constructor (fill from server):
var data = new dhtmlXDataStore({
url:"data/data.json",
datatype:"json"
});
Quindi nell'esempio che hai fornito :
1)Elimina jquery :) data = new dhtmlXDataStore({
url:"http://192.168.1.7:8190/",,
datatype:"json"
});
2)myComponent.load({data:["user:"+ user +",password:"+ pass +",id:"+2]}, function(){ // data loaded and rendered // your code here });
Come da documentazione :)
http://docs.dhtmlx.com/api__link__datastore_load.html (http://docs.dhtmlx.com/api__link__datastore_load.html)