This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$("#listView").kendoListView({ | |
pageable: true, | |
selectable: true, | |
navigatable: true, | |
editable: true | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var listView = $("#listView").kendoListView({ | |
template: kendo.template($("#template").html()), | |
editTemplate: kendo.template($("#editTemplate").html()), | |
altTemplate: kendo.template($("#altTemplate").html()) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="listView"></div> | |
<div id="pager"></div> | |
<script type="text/x-kendo-tmpl" id="template"> | |
<div class="tweet"> | |
<img class="profileImage" src="${profile_image_url}" /> | |
<strong>${from_user_name}</strong> | |
<a href="http://twitter.com/${from_user}">@${from_user}</a> | |
<p class="text">${text}</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataSource = new kendo.data.DataSource({ | |
transport: { | |
read: { | |
url: "http://search.twitter.com/search.json", | |
contentType: "application/json; charset=utf-8", | |
type: "GET", | |
dataType: "jsonp", | |
data: { | |
q: "#KendoUI" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="listView"></div> | |
<div id="pager"></div> | |
<script type="text/x-kendo-tmpl" id="template"> | |
<div class="tweet"> | |
<img class="profileImage" src="${profile_image_url}" /> | |
<strong>${from_user_name}</strong> | |
<a href="http://twitter.com/${from_user}">@${from_user}</a> | |
<p class="text">${text}</p> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataSource = new kendo.data.DataSource({ | |
transport: { | |
read: { | |
url: "http://search.twitter.com/search.json", | |
contentType: "application/json; charset=utf-8", | |
type: "GET", | |
dataType: "jsonp", | |
data: { | |
q: "#KendoUI" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="listView"></div> | |
<script type="text/x-kendo-tmpl" id="template"> | |
<div class="tweet"> | |
<img class="profileImage" src="${profile_image_url}" /> | |
<strong>${from_user_name}</strong> | |
<a href="http://twitter.com/${from_user}">@${from_user}</a> | |
<p class="text">${text}</p> | |
</div> | |
</script> |
NewerOlder