1
Answer

KENDO UI - How to bind the predefined data to data source

Kannan AU

Kannan AU

6y
1.3k
1
Dear Team,
 
I am new to Kendo UI controller.
in Kendo UI using Jquery, how to bind the pre defined (its static data which has only 3 values, Delivered,Shipped,Onthe way) data in Grid format.
 
For example:-  
thiz.busGrid = thiz.element.find('.i-bus-grid').kendoGrid({
dataSource: new kendo.data.DataSource({
data: data,
schema: {
data: "Items",
model: {
id: "busId"
}
}
}),
columns: [
{
field: "BusName",
horizontalAlign: "left",
headerAttributes: { style: "text-align: left; width: 250px;" },
width: 250,
]
 
 
Please help me 
Answers (1)