I am testing and evaluating kendoUI. I am filling the grid with data form a remote database, the info came correctly and I can fill the grid. I can filter, sort, and also I can show lines with the pageSize command. The only one that is not working for me is the "pageable", down the grid it appears all the buttons, but It seems not to have any register, and there they are. Of course any pageable button works. Here is my simple code:
Here is the link to web: http://www.midilusa.com/sistema/prueba_kendoUI/prueba.php
Here is it´s code:
<div id="example" class="k-content">
<div id="grid"></div>
<script>
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: "pais.php",
dataType: "json"
}
},
schema: {
total: function(response) {
return response.total; // total is returned in the "total" field of the response
},
},
pageSize: 10,
},
pageable: true,
filterable: true,
sortable: true,
groupable: true,
});
});
</script>
</div>
Here is the link to web: http://www.midilusa.com/sistema/prueba_kendoUI/prueba.php
Here is it´s code:
<div id="example" class="k-content">
<div id="grid"></div>
<script>
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: "pais.php",
dataType: "json"
}
},
schema: {
total: function(response) {
return response.total; // total is returned in the "total" field of the response
},
},
pageSize: 10,
},
pageable: true,
filterable: true,
sortable: true,
groupable: true,
});
});
</script>
</div>