HI All,
I have been trying to create hyperlinks on Grid Items, i mean to say when a row item is clicked i want to navigate it to a different page based on the selection. I'm trying to achieve it using the change event and attaching an handler to it. I have attached the partial code snippet in here, but it doesn't seem to be working. Can anyone help me with this or is there a work around?
Thanks & Regards,
Harsha
---
$("#grid").kendoGrid({
height: 250,
groupable: true,
selectable: "row",
change: onSelect,
scrollable: true,
sortable: true,
columns: {}
})
---
function onSelect(arg){
var clicked = $("#grid").data("kendoGrid");
$(clicked).prop("href", "newPage.html");
I have been trying to create hyperlinks on Grid Items, i mean to say when a row item is clicked i want to navigate it to a different page based on the selection. I'm trying to achieve it using the change event and attaching an handler to it. I have attached the partial code snippet in here, but it doesn't seem to be working. Can anyone help me with this or is there a work around?
Thanks & Regards,
Harsha
---
$("#grid").kendoGrid({
groupable: true,
selectable: "row",
change: onSelect,
scrollable: true,
sortable: true,
columns: {}
})
---
function onSelect(arg){
var clicked = $("#grid").data("kendoGrid");
$(clicked).prop("href", "newPage.html");
)