ahybits
Newbie
Posts: 26
|
|
« Reply #2 on: July 02, 2015, 08:58:50 AM » |
|
Am I missing something? Maybe some bracket that I can see..... this is what I have: i copied the json I get and tried to hard code it here as well (confirmed it in jsonlint as well)
var dglh = $('#dgEducationCASupportLearningHoursharke11').datagrid({ data: {"total":28,"rows":[{"lhid":"5409bf9ad155630688dc6563","CId":"","Description":"Guide to Accountability","Completed":"2011-12-08","Hours":1,"CreditHours":1,"ClassType":"Skills","State":"Active","Label":""},{"lhid":"5409bf9ad155630318dc6564","CId":"","Description":"Database Training","Completed":"2012-02-14","Hours":0.5,"CreditHours":0.5,"ClassType":"Unclassified","State":"Active","Label":""}........]}, fitColumns: true, oneSelect: true, sortName: "completiondate", sortOrder: "desc", remoteSort: false, onHeaderContextMenu: function (e, field) { e.preventDefault(); if (!cmenu) { createColumnMenu(); } cmenu.menu('show', { left: e.pageX, top: e.pageY }); },
|