Open olivierdu95 opened 8 years ago
Hello all,
i am currently trying to use dynatable into playframework, i have defined a methode "/networks" to get data in Json format,
var $records = $.get("/networks") myRecords = JSON.parse($records.text()); $('#networks-table').dynatable({ dataset: { records: myRecords } });
but when i try to implement this javascript code an error appear on the line 182 ;( : Creating global 'for' variable. Should be 'for (var model ...'.
Can someone help me please ?. Thank you in advance.
Hello all,
i am currently trying to use dynatable into playframework, i have defined a methode "/networks" to get data in Json format,
var $records = $.get("/networks") myRecords = JSON.parse($records.text()); $('#networks-table').dynatable({ dataset: { records: myRecords } });
but when i try to implement this javascript code an error appear on the line 182 ;( : Creating global 'for' variable. Should be 'for (var model ...'.
Can someone help me please ?. Thank you in advance.