Hello
I have tried and search for solution to modify Column template
e.g.
i tried some thing like
var grid = $("#gridName").data("kendoGrid");
grid.columns = [];
$("#gridscreenerresult").kendoGrid({
groupable: false,
sortable: {
mode: "multiple",
allowUnsort: true
},
reorderable: true,
columnMenu: true,
scrollable: {
virtual: true
},
filterable: false,
resizable: true,
pageable: {
refresh: true,
pageSizes: true
},
columns: columnfield2
});
grid.refresh();
Nothing works so far, is it possible at all?
Hi If adding removing columns not work during runtime with javascript then can you guys show me how to show / hide columns on runtimes programatically? this way i can still complete my project. If all is not well, i will have to roll back to Telerik Ajax instead - spent tons of times on Kendo already.
I have tried and search for solution to modify Column template
e.g.
$("#gridscreenerconfigs").kendoGrid({ groupable: false, sortable: false, scrollable: { virtual: true }, filterable: false, pageable: false, columns: [{ field: "fEnable", title: "Enable" }, { field: "fCategories", title: "Screener" }, { field: "fRange", title: "Range" }, { field: "fReorder", title: "Order" }, { command: "destroy", title: "Remove" } ] });i tried some thing like
var grid = $("#gridName").data("kendoGrid");
grid.columns = [];
$("#gridscreenerresult").kendoGrid({
groupable: false,
sortable: {
mode: "multiple",
allowUnsort: true
},
reorderable: true,
columnMenu: true,
scrollable: {
virtual: true
},
filterable: false,
resizable: true,
pageable: {
refresh: true,
pageSizes: true
},
columns: columnfield2
});
grid.refresh();
Nothing works so far, is it possible at all?
Hi If adding removing columns not work during runtime with javascript then can you guys show me how to show / hide columns on runtimes programatically? this way i can still complete my project. If all is not well, i will have to roll back to Telerik Ajax instead - spent tons of times on Kendo already.
