Created
July 19, 2016 13:54
-
-
Save lohithgn/08815745af3b85075302e2b7ac0ce586 to your computer and use it in GitHub Desktop.
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
$("#grid").kendoGrid({ | |
dataSource:{ | |
type:"odata-v4", | |
transport:{ | |
read:"http://services.odata.org/V4/Northwind/Northwind.svc/Orders" | |
}, | |
pageSize:15, | |
serverPaging:true | |
}, | |
pageable:true, | |
filterable:true, | |
columns:[ | |
{field:"OrderID",title:"Order",width:"100px",filterable:false}, | |
{field:"CustomerID",title:"Customer",filterable:false}, | |
{field:"ShipName",title:"Shipper",filterable:false}, | |
{field:"ShipCity",title:"City",filterable:false}, | |
{field:"ShipCountry",title:"Country",filterable:false}, | |
{field:"OrderDate",title:"Ordered",width:"120px"}, | |
{field:"RequiredDate",title:"Required", width:"120px",filterable:false}, | |
{field:"ShippedDate",title:"Shipped", width:"120px",filterable:false}, | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment