I'm creating a table and have applied HTML5 Data tags to each table element like this:
To determine what was clicked, I have a function that handles the change events of my grid:
Doing something like this doesn't work?
When debugging my JS script in Visual Studio, viewing all the properties for 'item', there is no mention of the data tag mentioned? Are they being removed by Kendo?
<
tr
data-sku
=
"SOME DATA HERE"
>
To determine what was clicked, I have a function that handles the change events of my grid:
function onGridClick(arg) {
var selected = $.map(this.select(), function (item) {
return $(item).text();
});
// do something
}
Doing something like this doesn't work?
$(item).attr('data-sku')
When debugging my JS script in Visual Studio, viewing all the properties for 'item', there is no mention of the data tag mentioned? Are they being removed by Kendo?