Hi,
I am binding dynamic data to kendo ui grid without defining schema. I have to set the column's title,type,sortable options dynamically. i tried to fetch the columns using
grid.columns option in databound event. but what are the changes i made in databound event are not reflecting to the grid.
i am defining the grid as below:
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: urlPath,
type: "POST",
data: {
count: function () { return $('#txt_no').val(); },
}
}
}
Please give a suggestion in which event i should set the column properties dynamically .
Thanks,
Raj Yennam
I am binding dynamic data to kendo ui grid without defining schema. I have to set the column's title,type,sortable options dynamically. i tried to fetch the columns using
grid.columns option in databound event. but what are the changes i made in databound event are not reflecting to the grid.
i am defining the grid as below:
$("#grid").kendoGrid({
dataSource: {
transport: {
read: {
url: urlPath,
type: "POST",
data: {
count: function () { return $('#txt_no').val(); },
}
}
}
Please give a suggestion in which event i should set the column properties dynamically .
Thanks,
Raj Yennam