php - Webix Data Loading from Laravel Link -


trying load data webix data table using following code. looks browser getting json data back, webix isn't doing data. no datatable shows up, can still see full json under network -> response tab in firefox inspector. valid way of loading data webix?

<script type="text/javascript" charset="utf-8">                     dtable = new webix.ui({                         container:"box",                         view:"datatable",                         select:"row",                         scroll:"xy",                         leftsplit:3,                          url: "{{ url('/getcontacts') }}",                         datatype: "json"                     });                 </script> 

specifically, question around whether url work route 'getcontacts' returns json object.

after troubleshooting webix, determined yes. using "{{ }}"does work webix, case, grid hidden css fault collapsing rows of grid. once fixed, datatable showed data without flaw.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -