Hi all,
I got this template apply to a Grid
And I want that on click
but nothing happens, will if I apply this same jquery outside the Kendo Grid it's works OK.
So how should I bind the click to the template??
Thanks
I got this template apply to a Grid
<
script
id
=
"template"
type
=
"text/x-kendo-tmpl"
>
<
tr
>
<
td
>
<
a
href
=
"a"
class
=
"something"
value
=
"#= id #"
>Show ID</
a
>
</
td
>
...
And I want that on click
$(document).ready(
function
(){
$(
'.something'
).click(
function
(){
alert($(
this
).attr(
"value"
));
return
false
;
});
...
but nothing happens, will if I apply this same jquery outside the Kendo Grid it's works OK.
So how should I bind the click to the template??
Thanks