hi all;
im use grid for remote jsp return json data,for example:
grid
but grid empty,no any,pls help me ,thanks.
im use grid for remote jsp return json data,for example:
[{title: "Star Wars: A New Hope", year: 1977}, {title: "Star Wars: The Empire Strikes Back", year: 1980}]<script type="text/javascript" > $(document).ready(function(){ var sharableDataSource = new kendo.data.DataSource({ transport: { read: { url:"contract/test.jsp", dataType: "json" } } }); $("#grid").kendoGrid({ dataSource: sharableDataSource, columns: [ { title: "title", field: "title", width: 130}, { title: "year", field: "year",width: 100},], height: 550, groupable: false, scrollable: true, sortable: true, pageable: true }); });</script>