Hello. I am a new one on using your product, just try to evaluate. I just write my first application, but there is no data dislpay
This is index.js file. Using the url wich return a JSON file : it is OK , I use it every day. What is wrong with my code ?. Thanks a lot
var data = new ej.data.DataManager({
url: 'http://sdsragusa.andrasoft.online/ecom/tab_cli_02.php',
adaptor: new ej.data.ODataV4Adaptor()
});
ej.grids.Grid.Inject(ej.grids.Sort);
var grid = new ej.grids.Grid({
dataSource: data,
allowSorting: true,
allowFiltering: true,
columns: [
{ field: 'agente', width: 140, headerText: 'Ag', type: 'string' },
{ field: 'cod_cliente', width: 140, headerText: 'Cod', type: 'string' },
{ field: 'ragione_sociale', headerText: 'Ragione sociale', textAlign: 'Right', width: 120},
{ field: 'indirizzo', headerText: 'Indirizzo', width: 140}
]
});
grid.appendTo('#Grid');