//////////////////////////////////////////////////////
function ondrawcell(e) {
if (e.field == "shijianduan") {
var moshiid = e.row.ScheduleID;
if (getnumbersbyid(moshiid) == e.row.shijiannumber) {
var tempDiv = "<table>";
var times = getjsons(moshiid);
var html = "";
for (var i = 0; i < times.length; i++) {
html += "<tr><td><input id=" + i + "0 type='text' value='" + times[i].starttime + "'/></td><td><input id=" + i + "1 type='text' value='" + times[i].endtime + "'/></td></tr>";