or
<ul data-role="listview" data-type="group"> <li> Heading 1 <ul> <li><label><input type="checkbox" checked="checked" />Lettuce</label></li> <li><label><input type="checkbox" checked="checked" />Carrots</label></li> <li><label><input type="checkbox" checked="checked" />Peas</label></li> <li><label><input type="checkbox" checked="checked" />Bread</label></li>
<!-- repeat until you have enough to fill the whole screen --> </ul> </li></ul>
var tooltip = $("#lvPictures").kendoTooltip({ filter: "img.imgInfo", width: 120, position: "top", autoHide: false, content: function (e) { var target = e.target; var fileId = target.data('identity'); return helpers.GetPictureToopTip(fileId); }}).data("kendoTooltip");var helpers = { GetPictureToopTip: function (fileId) { helpers.GetFile(fileId).done(function (json) { var jsonObj = JSON.parse(json.d); var html = ''; html += '<div>Picture info</div>' html += '<div>' + jsonObj.FileName + '</div>' return html; }); }}
function onRowDataBound(e) { e.row.cells[2].innerHTML = "<span class='countdown-" + e.dataItem.SONumber + "'></span>" if (e.dataItem.Due != null && e.dataItem.Due < new Date(2015, 4, 1) && e.dataItem.Due > new Date(2011, 4, 1)) { $('.countdown-' + e.dataItem.SONumber).countdown({ until: new Date(Date.parse(e.dataItem.Due)), compact: true, layout: '<strong>{dn} {dl} {hnn}{sep}{mnn}{sep}{snn}</strong>', }); } }<tr style="background: none repeat scroll 0% 0% rgb(255, 134, 112);"> <td>43475</td> <td>New</td> <td> <span class="countdown-43475 hasCountdown"> <strong>0 d 00:00:00</strong> </span> </td> <td>Account</td> <td>Description</td> <td>Cons</td> <td class="t-last">P3 - 24H</td></tr>