or
axisCrossingValue: [0, datasource.data().length] }
<div data-role="view" data-layout="app" data-title="about" id="viewid">
<iframe src="http://easytrip.fusio.net/easytrip.htm"></iframe
</div>
But the iframe isn't scrollable in a mobile browser. Is there a way of making the iframe scrollable or a different method of loading a remote page into a view and have it scrollable?
$(document).ready(function () {
$(document).on("click", ".ceva", getNextState);
});
function getNextState(e) {
var grid = $("#Grid").data("kendoGrid");
var ID = $(e.currentTarget).attr('id');
var orderID = $(e.currentTarget).attr('data-ID');
var urlCon = "Idea/NextState?state=" + ID + "&iD=" + orderID;
$.ajax({
type: "POST",
url: urlCon,
contentType: "application/json; charset=utf-8",
success: function (data) {
var x = data;
grid.dataSource.data(data);
grid.refresh();
},
error: function () {
alert("something went wrong");
}
});
<
asp:Repeater
runat
=
"server"
ID
=
"repList"
EnableViewState
=
"False"
>
<
HeaderTemplate
><
table
id
=
"grid"
>
<
thead
>
<
tr
>
<
th
data-field
=
"ShortName"
>Short Name</
th
>
<
th
data-field
=
"Site"
>Site</
th
>
</
tr
>
</
thead
>
<
tbody
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
tr
>
<
td
><%#Eval("ShortName")%></
td
>
<
td
><%#Eval("tblSite.Site")%></
td
>
</
tr
>
</
ItemTemplate
>
<
FooterTemplate
></
tbody
></
table
></
FooterTemplate
>
</
asp:Repeater
>
<
script
type
=
"text/javascript"
>
$(function () {
$('#grid').kendoGrid({
datasource : { group: {field: "Site"}},
groupable: true,
scrollable: true,
sortable: true,
pageable: true,
filterable: true
});
});
</
script
>