I am using a grid with some local data, but I want to use some simple html before and after one of the fields in a column. I'm actually doing it in the PHP code before it even gets into the array "data_source".
I just want html to parse inside the grid basically.
I just want html to parse inside the grid basically.
$(document).ready(
function
() {
$(
"#grid"
).kendoGrid({
dataSource: {
data: booking_data,
schema: {
model: {
fields: {
invoice_id: { type:
"number"
},
invoice_date: { type:
"string"
},
invoice_name: { type:
"string"
},
invoice_price: { type:
"number"
},
invoice_status: { type:
"string"
}
}
}
},
pageSize: 15
},
scrollable:
true
,
sortable:
true
,
filterable:
true
,
pageable:
true
,
columns: [
{
field:
"invoice_id"
,
title:
"Invoice ID"
},
{
field:
"invoice_date"
,
title:
"Invoice Date"
},
{
field:
"invoice_name"
,
title:
"Customer Name"
},
{
field:
"invoice_price"
,
title:
"Invoice Price"
},
{
field:
"invoice_status"
,
title:
"Invoice Status"
}
]
});
});